YouCompleteMe/cpp/ycm
Strahinja Val Markovic f88c9feb4f Refactored the clang completer; many bugs fixed
This change should fix the random hangs and segfaults when using the clang
completer. Also, assertion errors printed to the console on vim exit should go
away too, same thing with segfaults on vim exit. These "on exit" errors were
caused by not cleanly shutting down the background threads; both the identifier
completer and the clang one now join the threads on destruction. This results in
a clean shutdown.

The new clang completer architecture now uses only one clang thread (again)
instead of a completion and parsing thread. Since the parsing task needs to wait
on the completion task if it was started first (and vice-versa) there's no point
to using two threads. The desired "simplicity" of using two threads for these
two tasks actually created needless complexity (and bugs). Sigh. Such is life.

A TranslationUnit abstraction was also created and this in turn also reduces the
complexity of the clang completer.

The clang completer now also has some (very) basic tests.
2012-08-11 19:37:08 -07:00
..
tests Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
.ycm_clang_options.py Forcing c++ lang in clang options for ycm 2012-08-05 12:55:03 -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 Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
ClangCompleter.h Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -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 Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
TranslationUnit.h Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -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 Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00