]> granicus.if.org Git - clang/commit
Attribute tablegen now understands that attribute arguments can be optional. This...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 9 Sep 2013 23:33:17 +0000 (23:33 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 9 Sep 2013 23:33:17 +0000 (23:33 +0000)
commitbbb3b3237df2284f6f3c34798944fcfa4b43fd34
tree6a2893bd0d033dc570fa80dfd3138d60312ee49a
parenta7be2f4c745120d6ee5adfd19ef259919bdc3f7f
Attribute tablegen now understands that attribute arguments can be optional.  This allows for automated checking of the number of arguments expected vs number of arguments given for attributes.  Greatly reduces the amount of manual checking required.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190368 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Sema/AttributeList.h
include/clang/Sema/CMakeLists.txt
lib/Sema/AttributeList.cpp
lib/Sema/CMakeLists.txt
lib/Sema/SemaDeclAttr.cpp
test/Sema/attr-mode.c
utils/TableGen/ClangAttrEmitter.cpp
utils/TableGen/TableGen.cpp
utils/TableGen/TableGenBackends.h