llvm-project/clang/lib/ASTMatchers
David Blaikie ac7e3d6451 ASTMatchers.h: Fix ODR violations by avoiding internal linkage variables in headers
Internal linkage variables ODR referenced from inline functions create
ODR violations (the same inline function ends up having different
definitions in each TU, since it references different variables - rather
than one definition).

This also happens to break modular code generation - so this is the last
fix to allow clang to compile with modular code generation.

llvm-svn: 318304
2017-11-15 16:52:12 +00:00
..
Dynamic Add ObjC exception statement AST matchers 2017-11-11 22:46:15 +00:00
ASTMatchFinder.cpp [ASTMatchers] Don't create a copy of a std::set when iterating over it. 2017-10-10 07:21:34 +00:00
ASTMatchersInternal.cpp ASTMatchers.h: Fix ODR violations by avoiding internal linkage variables in headers 2017-11-15 16:52:12 +00:00
CMakeLists.txt ASTMatchers: Add an explicit dependency on libclangBasic. 2015-03-12 16:25:19 +00:00