mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Rename DataStructureAnalysis namespace to DS
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user