]> granicus.if.org Git - clang/commit
Tablegen now generates a StringSwitch for attributes containing enumeration arguments...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 11 Sep 2013 19:47:58 +0000 (19:47 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 11 Sep 2013 19:47:58 +0000 (19:47 +0000)
commitd068607c136298bec0891d750389a55bac9f5c98
tree58827002d9a2a04aa3e1808c126f28267b35222e
parente80501ba640fae189d5f944b025a0079ec3c579f
Tablegen now generates a StringSwitch for attributes containing enumeration arguments to map strings to the proper enumeration value.  This makes error checking more consistent and reduces the amount of hand-written code required.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190545 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/AttrImpl.cpp
lib/Sema/SemaAttr.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
test/Misc/warning-flags.c
test/SemaCXX/warn-consumed-parsing.cpp
utils/TableGen/ClangAttrEmitter.cpp