Fix ODR violations caused by putting anonymous namespaces in header files (and
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 17 Mar 2015 02:36:51 +0000 (02:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 17 Mar 2015 02:36:51 +0000 (02:36 +0000)
commit3d8b0caf980edb684d6a12627a8e9aad685d8405
tree04b9c06edaf452a905ca36f6528c985c18b9547e
parent64a7eb58cd24ca7c60f1a734c9158a6b0d320afe
Fix ODR violations caused by putting anonymous namespaces in header files (and
then using the symbols from those anonymous namespaces from outside the
anonymous namespace).

This was "detected" by causing the modules selfhost to fail in some cases.
The corresponding Clang bug was fixed in r232455.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232457 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DominanceFrontierImpl.h
include/llvm/Analysis/LoopInfoImpl.h