diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-11-02 10:38:05 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-11-02 10:38:05 +0000 |
| commit | 4101621dd7463226941602e007c3da1d4012f8ed (patch) | |
| tree | d0d179b471e6374b51a0d29999def9f5ec1fb5e9 /clang/lib/Driver/Tools.cpp | |
| parent | 77c2754d58f38ce2d0c58d5dc08e9b618cddff33 (diff) | |
| download | bcm5719-llvm-4101621dd7463226941602e007c3da1d4012f8ed.tar.gz bcm5719-llvm-4101621dd7463226941602e007c3da1d4012f8ed.zip | |
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.
llvm-svn: 193919
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions

