aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-20 18:50:06 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-20 18:50:06 +0000
commitde9e9764681a25a7adbea48ccb0be4ee98e1fec5 (patch)
treecb12752b13dbd1e4773e7b729a933bd3038f379f /llvm/lib/CodeGen/InterferenceCache.cpp
parent43b7c021b3ec06c71c095475a3e8169f58f5775f (diff)
downloadllvm-de9e9764681a25a7adbea48ccb0be4ee98e1fec5.zip
llvm-de9e9764681a25a7adbea48ccb0be4ee98e1fec5.tar.gz
llvm-de9e9764681a25a7adbea48ccb0be4ee98e1fec5.tar.bz2
Remove -Winternal-linkage-in-inline in C++.
It's very easy for anonymous external linkage to propagate in C++ through return types and parameter types. Likewise, it's possible that a template containing an inline function is only used with parameters that have internal linkage. Actually diagnosing where the internal linkage comes from is fairly difficult (both to locate and then to print nicely). Finally, since we only have one translation unit available, we can't even prove that any of this violates the ODR. This warning needs better-defined behavior in C++ before it can really go in. Rewording of the C warning (which /is/ specified by C99) coming shortly. llvm-svn: 158836
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions