summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-11-02 10:38:05 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-11-02 10:38:05 +0000
commit633c0c2fbc1d9272b3f25220ffb8fe4b04ece3db (patch)
tree1902e3e68752497658fe7b2ea6331e2857d7108d /lib/CodeGen/CodeGenFunction.cpp
parent6f6dc158ee2fbe5b9b8685dad45be02cba0873f5 (diff)
downloadclang-633c0c2fbc1d9272b3f25220ffb8fe4b04ece3db.tar.gz
clang-633c0c2fbc1d9272b3f25220ffb8fe4b04ece3db.tar.bz2
clang-633c0c2fbc1d9272b3f25220ffb8fe4b04ece3db.tar.xz
Sema: Cleanup and simplify anonymous union diagnostics
The determination of which diagnostics would be issued for certain anonymous unions started to get a little ridiculous. Clean this up by inverting the condition-tree's logic from dialect -> issue to issue -> diagnostic. As part of this cleanup, move ext_c99_flexible_array_member from DiagnosticParseKinds.td to DiagnosticSemaKinds.td because it's driven by Sema, not Parse. Also, the liberty was taken to edit ext_c99_flexible_array_member to match other, similar, diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions