llvm-project/clang-tools-extra/unittests
Heejin Ahn f4a29252fb [clangd] Fix link failures for Preprocessor::addCommentHandler
Summary:
D42640 adds calls to `Preprocessor::addCommentHandler` in
`unittests/clangd/SymbolCollectorTests.cpp` and
`clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp` but does not
link `clangLex` library. This causes undefined reference errors when
built with `-DBUILD_SHARED_LIBS=ON`.

Reviewers: ioeric

Subscribers: klimek, mgorny, ilya-biryukov, jkorous-apple, cfe-commits

Differential Revision: https://reviews.llvm.org/D43437

llvm-svn: 325458
2018-02-18 10:50:16 +00:00
..
change-namespace Update test after r321312 2017-12-21 23:19:25 +00:00
clang-apply-replacements [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-move [clang-move] Fix the incorrect expansion end location. 2018-02-12 12:26:12 +00:00
clang-query [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-tidy [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clangd [clangd] Fix link failures for Preprocessor::addCommentHandler 2018-02-18 10:50:16 +00:00
include/common Remove clang-modernize. 2015-12-17 11:49:19 +00:00
include-fixer [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
CMakeLists.txt [cmake] Support running extra clang tool tests without static analyzer 2017-08-29 05:58:08 +00:00