forked from OSchip/llvm-project
Enable caching of global code completion results in the suggested
libclang options for editing a translation unit. llvm-svn: 114810
This commit is contained in:
parent
4f59cbfb66
commit
176d286c96
|
@ -1965,7 +1965,8 @@ CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx,
|
|||
}
|
||||
|
||||
unsigned clang_defaultEditingTranslationUnitOptions() {
|
||||
return CXTranslationUnit_PrecompiledPreamble;
|
||||
return CXTranslationUnit_PrecompiledPreamble |
|
||||
CXTranslationUnit_CacheCompletionResults;
|
||||
}
|
||||
|
||||
CXTranslationUnit
|
||||
|
|
Loading…
Reference in New Issue