summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-04-12 00:38:00 +0000
committerReid Kleckner <rnk@google.com>2017-04-12 00:38:00 +0000
commitc2cb5600450b8c4e5fdd915bd8c848319c5e57e1 (patch)
tree621b8f69c41b1b0aead20855cdede8ddd54eae70 /clang/lib/CodeGen/CodeGenModule.cpp
parentbdbdd229375f1b7c112bb5ecef8aeb603ad8d07f (diff)
downloadbcm5719-llvm-c2cb5600450b8c4e5fdd915bd8c848319c5e57e1.tar.gz
bcm5719-llvm-c2cb5600450b8c4e5fdd915bd8c848319c5e57e1.zip
[IR] Add AttributeSet to hide AttributeSetNode* again, NFC
Summary: For now, it just wraps AttributeSetNode*. Eventually, it will hold AvailableAttrs as an inline bitset, and adding and removing enum attributes will be super cheap. This sinks AttributeSetNode back down to lib/IR/AttributeImpl.h. Reviewers: pete, chandlerc Subscribers: llvm-commits, jfb Differential Revision: https://reviews.llvm.org/D31940 llvm-svn: 300014
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 7fe8bf04129..e0830663349 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -2935,7 +2935,7 @@ static void replaceUsesOfNonProtoConstant(llvm::Constant *old,
continue;
// Get the call site's attribute list.
- SmallVector<llvm::AttributeSetNode *, 8> newAttrs;
+ SmallVector<llvm::AttributeSet, 8> newAttrs;
llvm::AttributeList oldAttrs = callSite.getAttributes();
// Collect any return attributes from the call.
OpenPOWER on IntegriCloud