diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-11-15 16:52:12 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-11-15 16:52:12 +0000 |
commit | ac7e3d6451ae834634e56fbeff6934774cb3003d (patch) | |
tree | d425202da7e3e38222d8ab380eba0ade2d0f3826 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | cb74c65f5e722d56d24fbbd4cb164b09371a85fb (diff) | |
download | bcm5719-llvm-ac7e3d6451ae834634e56fbeff6934774cb3003d.tar.gz bcm5719-llvm-ac7e3d6451ae834634e56fbeff6934774cb3003d.zip |
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
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions