summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-23 01:36:12 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-23 01:36:12 +0000
commit1e3b0f06148ad203890d05cedd286b12916a2435 (patch)
tree6d34de9d6185f66eb1212504b7355c8df3774056 /clang/lib/Sema/SemaDecl.cpp
parent28d4803adeea6e1ad9aaea59f3b5f3ff5bcd5f20 (diff)
downloadbcm5719-llvm-1e3b0f06148ad203890d05cedd286b12916a2435.tar.gz
bcm5719-llvm-1e3b0f06148ad203890d05cedd286b12916a2435.zip
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. llvm-svn: 151227
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud