summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-07 05:20:53 +0000
committerChris Lattner <sabre@nondot.org>2002-11-07 05:20:53 +0000
commitca03c3b51603e44647def379a0b1b45360ea26aa (patch)
treee29fedc0e01803a949accdec722fdd57c5313d86 /llvm/lib/Analysis/DataStructure/Local.cpp
parent28c34bd8eb97dcdced2eb84ff23d0595d9ef7291 (diff)
downloadbcm5719-llvm-ca03c3b51603e44647def379a0b1b45360ea26aa.tar.gz
bcm5719-llvm-ca03c3b51603e44647def379a0b1b45360ea26aa.zip
Rename DataStructureAnalysis namespace to DS
llvm-svn: 4596
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/Local.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp
index bc2065ef653..b3195c2befc 100644
--- a/llvm/lib/Analysis/DataStructure/Local.cpp
+++ b/llvm/lib/Analysis/DataStructure/Local.cpp
@@ -30,12 +30,9 @@ using std::vector;
static RegisterAnalysis<LocalDataStructures>
X("datastructure", "Local Data Structure Analysis");
-using namespace DataStructureAnalysis;
-
-namespace DataStructureAnalysis {
+namespace DS {
// FIXME: Do something smarter with target data!
TargetData TD("temp-td");
- unsigned PointerSize(TD.getPointerSize());
// isPointerType - Return true if this type is big enough to hold a pointer.
bool isPointerType(const Type *Ty) {
@@ -46,6 +43,7 @@ namespace DataStructureAnalysis {
return false;
}
}
+using namespace DS;
namespace {
OpenPOWER on IntegriCloud