• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Valloric / ycmd / 1765
94%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2016 08:29PM UTC
Jobs 1
Files 40
Run time 19min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1765

push

travis-ci

homu
Auto merge of #433 - micbou:include-order, r=Valloric

[READY] Include headers from external projects last

Currently, headers are included by CMake in this order (when compiling with Clang support):
 - BoostParts
 - Python
 - Clang
 - `cpp\ycm`
 - `cpp\ycm\ClangCompleter`

The issue with this order is that if one of our headers has the same name as one of BoostParts, Python, or Clang headers, the wrong header may be included (depending on how it is included in the code). It can't happen with GCC and Clang compilers because the `-isystem` flag is used for these includes (`-isystem` directories are searched after `-I` directories). However, it is possible on Windows since there is no `-isystem` equivalent for MSVC. See issue in PR #291 where Python `token.h` is included instead of ycmd `Token.h`.

We prevent this by including the Boost, Python, and Clang directories after the ycmd ones.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/433)
<!-- Reviewable:end -->

2950 of 3514 relevant lines covered (83.95%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1765.1 (USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true) 16 Mar 2016 08:29PM UTC 0
83.95
Travis Job 1765.1
Source Files on build 1765
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1765
  • fb8c4b31 on github
  • Prev Build on master (#1754)
  • Next Build on master (#1767)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc