diff options
author | Reid Kleckner <rnk@google.com> | 2017-03-21 16:57:30 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-03-21 16:57:30 +0000 |
commit | 9bd00f207cc73a964015de302fe002c4a94298e1 (patch) | |
tree | c236ade13f473e80972450a22847e52b094004fa /lib/CodeGen/CGObjC.cpp | |
parent | 8cf917cee9be14451db612919d64a356b8396bd7 (diff) |
Update Clang for LLVM rename AttributeSet -> AttributeList
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index a67131af5d..4954a0d123 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -1840,7 +1840,7 @@ static llvm::Constant *createARCRuntimeFunction(CodeGenModule &CGM, llvm::AttrBuilder B; B.addAttribute(llvm::Attribute::Returned); - F->arg_begin()->addAttr(llvm::AttributeSet::get(F->getContext(), 1, B)); + F->arg_begin()->addAttr(llvm::AttributeList::get(F->getContext(), 1, B)); } } |