[PATCH] D64663: Extend function attributes bitset size from 64 to 96.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 14:44:58 PDT 2019


eugenis added a comment.

In D64663#1583672 <https://reviews.llvm.org/D64663#1583672>, @pcc wrote:

> I would prefer to keep this the way it is with an array so that it is obvious what the size/alignment are.
>
> It would be good to have a static assertion of some sort, though. It looks like `Attribute::EndAttrKinds` could be used for this purpose.


We already have that in AttributeListImpl::AttributeListImpl constructor.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64663/new/

https://reviews.llvm.org/D64663





More information about the llvm-commits mailing list