Fine-grainify namespaces for this library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9948 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index 253cbf7..a7b25796 100644
--- a/lib/Analysis/DataStructure/Local.cpp
+++ b/lib/Analysis/DataStructure/Local.cpp
@@ -28,11 +28,12 @@
//
#include "llvm/Module.h"
-namespace llvm {
+using namespace llvm;
static RegisterAnalysis<LocalDataStructures>
X("datastructure", "Local Data Structure Analysis");
+namespace llvm {
namespace DS {
// isPointerType - Return true if this type is big enough to hold a pointer.
bool isPointerType(const Type *Ty) {
@@ -42,7 +43,7 @@
return Ty->getPrimitiveSize() >= PointerSize;
return false;
}
-}
+}}
using namespace DS;
@@ -622,4 +623,3 @@
GlobalsGraph = 0;
}
-} // End llvm namespace