llvm-project/clang/unittests/AST
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
..
ASTContextParentMapTest.cpp [AST] Allow limiting the scope of common AST traversals (getParents, RAV). 2018-11-14 10:33:30 +00:00
ASTImporterTest.cpp [ASTImporter] Typedef import brings in the complete type 2018-11-27 09:51:36 +00:00
ASTTypeTraitsTest.cpp Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
ASTVectorTest.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +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
CommentLexer.cpp Added braces to work around gcc warning in googletest: suggest explicit braces to avoid ambiguous 'else'. NFC. 2017-06-15 21:01:24 +00:00
CommentParser.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CommentTextTest.cpp Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
DataCollectionTest.cpp [AST] Add TableGen for StmtDataCollectors 2017-09-06 13:20:51 +00:00
DeclMatcher.h Fix duplicate class template definitions problem 2018-05-23 13:53:36 +00:00
DeclPrinterTest.cpp [DeclPrinter] Allow printing fully qualified name of function declaration 2017-11-23 05:38:20 +00:00
DeclTest.cpp Revert "Lexer: always allow imaginary constants in GNU mode." 2017-08-08 23:17:51 +00:00
EvaluateAsRValueTest.cpp Revert "[Tooling] [0/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:55 +00:00
ExternalASTSourceTest.cpp Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
Language.cpp [ASTImporter] Add ms compatibility to tests which use the TestBase 2018-06-25 13:04:37 +00:00
Language.h [ASTImporter] Add ms compatibility to tests which use the TestBase 2018-06-25 13:04:37 +00:00
MatchVerifier.h [ASTImporter] Add unit tests for structural equivalence 2018-05-24 08:41:07 +00:00
NamedDeclPrinterTest.cpp [AST] namespace ns { extern "C" { int X; }} prints as "ns::X", not as "X" 2018-02-02 13:34:47 +00:00
SourceLocationTest.cpp Tracking exception specification source locations 2017-01-12 16:11:28 +00:00
StmtPrinterTest.cpp [unittests] Merge the PrintedStmtCXX..Matches functions (NFC) 2018-12-07 12:55:01 +00:00
StructuralEquivalenceTest.cpp Fix structural inequivalency of forward EnumDecl 2018-08-09 12:36:25 +00:00