diff options
author | Chris Lattner <sabre@nondot.org> | 2011-08-18 17:39:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-08-18 17:39:28 +0000 |
commit | 489fee1b64564540d46231c94e92fea84ed97cc5 (patch) | |
tree | 30fbbe62b31e28c6253f1b03e412bc39fd7b7b7e /include/llvm/DerivedTypes.h | |
parent | 6ea80e964ba0f8a3420b10bf21172508f713fafc (diff) |
Rip out the old StructType APIs as warned about on llvmdev last week.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DerivedTypes.h')
-rw-r--r-- | include/llvm/DerivedTypes.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index f28c3747a1..445c3deb7c 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -224,20 +224,6 @@ 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, - StringRef Name); - - static StructType *createNamed(StringRef Name, ArrayRef<Type*> Elements, - bool isPacked = false); - static StructType *createNamed(LLVMContext &Context, StringRef Name, - 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, |