llvm-project/clang/lib/Tooling
Fangrui Song 5313327f61 Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build
This is a more thorough fix of rC348911.
The story about -DBUILD_SHARED_LIBS=on build after rC348907 (Move PCHContainerOperations from Frontend to Serialization) is:

1. libclangSerialization.so defines PCHContainerReader dtor, ...
2. clangFrontend and clangTooling define classes inheriting from PCHContainerReader, thus their DSOs have undefined references on PCHContainerReader dtor
3. Components depending on either clangFrontend or clangTooling cannot be linked unless they have explicit dependency on clangSerialization due to the default linker option -z defs. The explicit dependency could be avoided if libclang{Frontend,Tooling}.so had these undefined references.

This patch adds the explicit dependency on clangSerialization to make them build.

llvm-svn: 348915
2018-12-12 08:02:18 +00:00
..
ASTDiff Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-20 17:53:42 +00:00
Core clang::tooling::Diagnostic: Don't store offset in the scratch space. 2018-11-21 01:08:46 +00:00
Inclusions NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
Refactoring Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
AllTUsExecution.cpp [Tooling] Correct the total number of files being processed when `filter` is provided. 2018-11-05 15:08:00 +00:00
ArgumentsAdjusters.cpp [Tooling] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-14 21:05:51 +00:00
CMakeLists.txt Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
CommonOptionsParser.cpp [Tooling] A new framework for executing clang frontend actions. 2017-10-26 10:38:14 +00:00
CompilationDatabase.cpp [Tooling] Allow -flto flags and filter out -Wa, flags 2018-08-22 17:13:40 +00:00
Execution.cpp [Tooling] Expose ExecutorName option. 2018-10-12 11:47:36 +00:00
FileMatchTrie.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
FixIt.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
InterpolatingCompilationDatabase.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-26 22:16:28 +00:00
JSONCompilationDatabase.cpp [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files 2018-09-14 12:24:09 +00:00
Refactoring.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
RefactoringCallbacks.cpp [tooling] RefactoringCallbacks code cleanup 2017-05-12 00:16:56 +00:00
StandaloneExecution.cpp Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Tooling.cpp Revert "Make clang-based tools find libc++ on MacOS" 2018-11-12 16:59:50 +00:00