]> granicus.if.org Git - clang/commit
[IR] Add AttributeSet to hide AttributeSetNode* again, NFC
authorReid Kleckner <rnk@google.com>
Wed, 12 Apr 2017 00:38:00 +0000 (00:38 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 12 Apr 2017 00:38:00 +0000 (00:38 +0000)
commit9cdcf26331e80cf45404141c3d6f9fa2c6e4f9b7
treee601f9440e2ca518c1209162d8bbfcc1b3fc4659
parente0f4a8bf0f181c7ec93558006d38c43e996b7949
[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
lib/CodeGen/CodeGenModule.cpp