YouCompleteMe/cpp/ycm/tests
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
..
gmock Using libc++ with clang from now on 2012-07-19 21:15:25 -07:00
testdata Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
Candidate_test.cpp Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
ClangCompleter_test.cpp Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
CMakeLists.txt Refactored the clang completer; many bugs fixed 2012-08-11 19:37:08 -07:00
IdentifierCompleter_test.cpp Loading .ycm_clang_options files now 2012-07-22 15:19:28 -07:00
IdentifierUtils_test.cpp Removing some commented-out code 2012-08-11 19:06:46 -07:00
IndexForChar_test.cpp Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
IsUppercase_test.cpp Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
LetterBitsetFromString_test.cpp Using custom collection of Boost libs 2012-05-09 21:45:30 -07:00
TestUtils.cpp Loading .ycm_clang_options files now 2012-07-22 15:19:28 -07:00
TestUtils.h Loading .ycm_clang_options files now 2012-07-22 15:19:28 -07:00