mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
Add CXTranslationUnit_CreatePreambleOnFirstParse for code completion on non-Windows machines.
This commit is contained in:
parent
8ed20567a1
commit
6737599c11
@ -23,7 +23,12 @@ unsigned Flags() {
|
||||
CXTranslationUnit_CacheCompletionResults |
|
||||
CXTranslationUnit_PrecompiledPreamble |
|
||||
CXTranslationUnit_IncludeBriefCommentsInCodeCompletion |
|
||||
//CXTranslationUnit_CreatePreambleOnFirstParse |
|
||||
#if !defined(_WIN32)
|
||||
// For whatever reason, CreatePreambleOnFirstParse causes clang to become
|
||||
// very crashy on windows.
|
||||
// TODO: do more investigation, submit fixes to clang.
|
||||
CXTranslationUnit_CreatePreambleOnFirstParse |
|
||||
#endif
|
||||
CXTranslationUnit_DetailedPreprocessingRecord;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user