diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-23 01:36:12 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-23 01:36:12 +0000 |
commit | d81e961f905e3ea57f6808e5a5686a8324270984 (patch) | |
tree | 3946ebade6837b57bde087c7f14da50d5c826627 /lib/CodeGen/CGExprAgg.cpp | |
parent | 47611c88fb0446673c6e590ab461934054be290a (diff) |
Update parser's disambiguation to cope with braced function-style casts in
C++11, and with braced-init-list initializers in conditions. This exposed an
ambiguity with enum underlying types versus bitfields, which we resolve by
treating 'enum E : T {' as always defining an enumeration (even if it would
only successfully parse as a bitfield). This appears to be g++ compatible.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions