HomePhabricator

[clangd] Fix link failures for Preprocessor::addCommentHandler

Description

[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

Details

Committed
aheejinFeb 18 2018, 2:50 AM
Differential Revision
D43437: [clangd] Fix link failures for Preprocessor::addCommentHandler
Parents
rL325457: [BPF] Return true in enableMultipleCopyHints().
Branches
Unknown
Tags
Unknown