diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp index 16512c0e1763..508daa226881 100644 --- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp +++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp @@ -22,11 +22,10 @@ #include "llvm/GlobalValue.h" #include "llvm/DerivedTypes.h" #include "llvm/Target/TargetData.h" - -namespace llvm { +using namespace llvm; // Make sure that anything that uses AliasAnalysis pulls in this file... -void BasicAAStub() {} +namespace llvm { void BasicAAStub() {} } namespace { struct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis { @@ -363,4 +362,3 @@ BasicAliasAnalysis::CheckGEPInstructions(GetElementPtrInst *GEP1, unsigned G1S, return MayAlias; } -} // End llvm namespace