]> granicus.if.org Git - clang/commit
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)
commit796a6179f890ef4b76428987d382ae37cb188eda
treee9f80aa6876f11e561a165f03201348875d81127
parent51ff13b7ce6303a1aa53d493553f92a1950cba2e
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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222456 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/AttributeList.h