The Syntax enumeration requires at least three bits to store all of its values. Incre...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 20 Nov 2014 21:34:56 +0000 (21:34 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 20 Nov 2014 21:34:56 +0000 (21:34 +0000)
commit4572f3b10a437ee87da01aca68a7d92a5575bb83
tree3587da5b977da77004969f683fb65b7ced6e39ee
parent9d98f7e454d928b97958e994060d8f6dcf0ac9c3
The Syntax enumeration requires at least three bits to store all of its values. Increase the number of bits for SyntaxUsed. Decrease the number of expression arguments allowed by a single bit so that the bit fields continue to add up to 32-bits evenly.

There is no test for this fix because I could find no reasonable way to trigger a visible failure from it.

Thanks to Doug Gregor for spotting this!

llvm-svn: 222456
clang/include/clang/Sema/AttributeList.h