Fix an ODR violation consisting of two 'struct Query' in the global namespace.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 12 Sep 2014 08:56:53 +0000 (08:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 12 Sep 2014 08:56:53 +0000 (08:56 +0000)
commit8f3452d079c8fa0d0887f3099b211b1fe094e8df
tree34191b5d5d2e60bf897ecb9bb6d45c81ae8802e0
parent785717c27165ff6cc31f8e2f0c47bc3e0cb0099d
Fix an ODR violation consisting of two 'struct Query' in the global namespace.

Put them in their own anonymous namespaces. Found by GCC's new -Wodr (PR20915).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/ValueTracking.cpp