diff options
author | Chris Lattner <sabre@nondot.org> | 2011-08-12 17:43:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-08-12 17:43:31 +0000 |
commit | c1c20114a401e503c07d68c47e0728bb063f35c8 (patch) | |
tree | 581edc6714b4095a78edee43be8aecaf8a8d88ba /lib/CodeGen/CGObjCGNU.cpp | |
parent | f80b0db7b131ce5bc9451b21d0555bd686e348f1 (diff) |
switch clang to use the new-new way of creating llvm::StructType's.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index 98f5d18c75..857351b8fe 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -1235,8 +1235,7 @@ llvm::Constant *CGObjCGNU::GenerateMethodList(const StringRef &ClassName, Methods); // Structure containing list pointer, array and array count - llvm::StructType *ObjCMethodListTy = - llvm::StructType::createNamed(VMContext, ""); + llvm::StructType *ObjCMethodListTy = llvm::StructType::create(VMContext); llvm::Type *NextPtrTy = llvm::PointerType::getUnqual(ObjCMethodListTy); ObjCMethodListTy->setBody( NextPtrTy, |