add ifdef's to let people easily remove these dead api for testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2011-08-12 18:08:19 +00:00
parent 1bcbf8582e
commit d95f8f6ada
2 changed files with 13 additions and 10 deletions

View File

@ -224,7 +224,7 @@ public:
static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
static StructType *create(StringRef Name, Type *elt1, ...) END_WITH_NULL;
#if 1
// FIXME: Remove these.
bool isAnonymous() const {return (getSubclassData() & SCDB_IsLiteral) != 0;}
static StructType *createNamed(LLVMContext &Context,
@ -236,7 +236,8 @@ public:
ArrayRef<Type*> Elements,
bool isPacked = false);
static StructType *createNamed(StringRef Name, Type *elt1, ...) END_WITH_NULL;
#endif
/// StructType::get - This static method is the primary way to create a
/// literal StructType.
static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,