aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-12 23:11:14 +0000
committerChris Lattner <sabre@nondot.org>2003-11-12 23:11:14 +0000
commit9a92729581c85891ae86d28281bdec7b5e4a702d (patch)
tree9ad49e10ea1155327fdb882f920038e67ddea7d9 /lib/Analysis/DataStructure/Local.cpp
parentbfcadffd4c1f70e22748068f0335f40d307c07f0 (diff)
Fine-grainify namespaces for this library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index 253cbf7a35..a7b2579612 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 @@ namespace DS {
return Ty->getPrimitiveSize() >= PointerSize;
return false;
}
-}
+}}
using namespace DS;
@@ -622,4 +623,3 @@ void LocalDataStructures::releaseMemory() {
GlobalsGraph = 0;
}
-} // End llvm namespace