diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-07 05:20:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-07 05:20:53 +0000 |
commit | b10604341fa3771bf6d76e1185616f9073450f3c (patch) | |
tree | bff3742f27c36fd3109be6c69e54efa644c4ed2d /lib/Analysis/DataStructure/Local.cpp | |
parent | e83cb5316b85ef9f888b186c1a533865051746f2 (diff) |
Rename DataStructureAnalysis namespace to DS
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Local.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index bc2065ef65..b3195c2bef 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/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 { |