YouCompleteMe/cpp/ycm
Strahinja Val Markovic f99e89f812 Fix for "lclose not allowed here" error on open
The problem was caused by a race condition of all things. ClangCompleter would
set possibly_completions_ready when starting the first parse pass for the file
and then would try to extract diagnostics for the file before the diagnostics
were done. Technically this was not a problem because only an empty diagnostics
vector would be returned, but this triggered Syntastic because hey, we have some
diagnostics to show (even though we don't).

And then Syntastic would try to close the location list window during startup
when this operation is not available. Technically it's Syntastic's fault, but a
more principled way to check for done diagnostics is to return and use a future
for file parsing operations and this solution also works around the Syntastic
issue.
2012-08-12 14:36:36 -07:00
..
tests Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
.ycm_clang_options.py Using -x c++ in clang opts so that headers compile 2012-08-11 19:46:22 -07:00
Candidate.cpp New sorting rule: char match index sum 2012-06-24 15:35:00 -07:00
Candidate.h Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
CandidateRepository.cpp Improving IdentifierCompleter performance 2012-07-21 12:06:18 -07:00
CandidateRepository.h Improving IdentifierCompleter performance 2012-07-21 12:06:18 -07:00
ClangCompleter.cpp Fix for "lclose not allowed here" error on open 2012-08-12 14:36:36 -07:00
ClangCompleter.h Fix for "lclose not allowed here" error on open 2012-08-12 14:36:36 -07:00
ClangUtils.cpp Showing the first func def in the preview window 2012-08-05 21:13:01 -07:00
ClangUtils.h Removing some unused code + fix for crash 2012-08-01 22:09:31 -07:00
CMakeLists.txt Not setting c++98compat warning for xcode 2012-08-11 19:00:39 -07:00
CompletionData.cpp Forcing the use of move in one location 2012-08-06 20:02:46 -07:00
CompletionData.h Split the CompletionData constructor into 2 funcs 2012-08-05 21:43:38 -07:00
ConcurrentLatestValue.h Renaming ConcurrentStack to ConcurrentLatestValue 2012-07-06 12:14:25 -07:00
ConcurrentStack.h Buffer identifiers are now extracted async 2012-07-24 20:09:09 -07:00
CustomAssert.cpp Adding our custom X_ASSERT macro 2012-08-11 19:01:40 -07:00
CustomAssert.h Adding our custom X_ASSERT macro 2012-08-11 19:01:40 -07:00
Diagnostic.h Adding diagnostic extraction support 2012-07-28 15:27:30 -07:00
Future.h Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierCompleter.cpp Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierCompleter.h Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierUtils.cpp Buffer identifiers are now extracted async 2012-07-24 20:09:09 -07:00
IdentifierUtils.h Buffer identifiers are now extracted async 2012-07-24 20:09:09 -07:00
LetterHash.cpp Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
LetterHash.h Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
LetterNode.cpp New sorting rule: char match index sum 2012-06-24 15:35:00 -07:00
LetterNode.h New sorting rule: char match index sum 2012-06-24 15:35:00 -07:00
Result.cpp ClangCompleter now returs extra data 2012-07-19 21:17:39 -07:00
Result.h ClangCompleter now returs extra data 2012-07-19 21:17:39 -07:00
standard.h Adding our custom X_ASSERT macro 2012-08-11 19:01:40 -07:00
TranslationUnit.cpp Refactorings and removing dead code 2012-08-11 20:13:12 -07:00
TranslationUnit.h Refactorings and removing dead code 2012-08-11 20:13:12 -07:00
UnsavedFile.h Splitting the UnsavedFile struct into its own file 2012-07-21 09:09:29 -07:00
Utils.cpp Loading .ycm_clang_options files now 2012-07-22 15:19:28 -07:00
Utils.h Adding diagnostic extraction support 2012-07-28 15:27:30 -07:00
ycm_core.cpp Fix for "lclose not allowed here" error on open 2012-08-12 14:36:36 -07:00