From: Reid Kleckner Date: Wed, 12 Apr 2017 00:38:00 +0000 (+0000) Subject: [IR] Add AttributeSet to hide AttributeSetNode* again, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cdcf26331e80cf45404141c3d6f9fa2c6e4f9b7;p=clang [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300014 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 7fe8bf0412..e083066334 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -2935,7 +2935,7 @@ static void replaceUsesOfNonProtoConstant(llvm::Constant *old, continue; // Get the call site's attribute list. - SmallVector newAttrs; + SmallVector newAttrs; llvm::AttributeList oldAttrs = callSite.getAttributes(); // Collect any return attributes from the call.