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 | ||
tests | ||
.ycm_extra_conf.py | ||
Candidate.cpp | ||
Candidate.h | ||
CandidateRepository.cpp | ||
CandidateRepository.h | ||
CMakeLists.txt | ||
ConcurrentLatestValue.h | ||
ConcurrentStack.h | ||
CustomAssert.cpp | ||
CustomAssert.h | ||
exceptions.h | ||
Future.h | ||
IdentifierCompleter.cpp | ||
IdentifierCompleter.h | ||
IdentifierUtils.cpp | ||
IdentifierUtils.h | ||
LetterNode.cpp | ||
LetterNode.h | ||
LetterNodeListMap.cpp | ||
LetterNodeListMap.h | ||
Result.cpp | ||
Result.h | ||
standard.h | ||
Utils.cpp | ||
Utils.h | ||
ycm_core.cpp |