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)
commit92f18ffce75ee4baf83cf77cf83edb39e7480909
treee055a31a85e420f52252a710711f6f7a01f647a4
parent563dfdb1111f839ce48fc899761692deddc621bd
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.

llvm-svn: 232457
llvm/include/llvm/Analysis/DominanceFrontierImpl.h
llvm/include/llvm/Analysis/LoopInfoImpl.h