-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #680 - puremourning:compilation-database, r=micbou
[READY] Automatically load a compilation database if found Alternative implementation to : #679 See #679 for explanation and rationale. Fixes: #489 Fixes: ycm-core/YouCompleteMe#2310 (sort of) Fixes: #26 Fixes: ycm-core/YouCompleteMe#1981 Fixes: ycm-core/YouCompleteMe#1623 (sort of) Fixes: ycm-core/YouCompleteMe#1622 Partly implements: ycm-core/YouCompleteMe#927 Fixes: ycm-core/YouCompleteMe#664 Fixes: ycm-core/YouCompleteMe#487 Fixes (discussion on): ycm-core/YouCompleteMe#174 This implementation is almost identical to the default-extra-conf version, except: - the code lives in `flags.py` - it re-uses `INCLUDE_FLAGS` from `flags.py` - it provides the directory of the compilation database in the `clang_completer` debug info instead of the name of the default extra conf module. On reflection, I think I might prefer this implementation. For now, the tests are identical to the other PR (you can now see why I added that set of tests!) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/680) <!-- Reviewable:end -->
- Loading branch information
Showing
8 changed files
with
790 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.