8cc9c9ca76
The issue was that the user could open a C-family file and have it start compiling in the background. While it is still compiling, he could trigger the completion system with a member dot operator. Because the file was still compiling for the very first time, the TranslationUnit object was yet not created. Sadly, this meant that UpdatingTranslationUnit would return false, and a new query request would be created, the GUI would hang until it was done aaaaand terrible lag until the file was compiled. This was a very rare edge case that could also only be triggered if it takes a considerable amount of time to compile the file. |
||
---|---|---|
.. | ||
ClangCompleter.cpp | ||
ClangCompleter.h | ||
ClangResultsCache.cpp | ||
ClangResultsCache.h | ||
ClangUtils.cpp | ||
ClangUtils.h | ||
CompilationDatabase.cpp | ||
CompilationDatabase.h | ||
CompletionData.cpp | ||
CompletionData.h | ||
Diagnostic.h | ||
TranslationUnit.cpp | ||
TranslationUnit.h | ||
UnsavedFile.h |