]> granicus.if.org Git - clang/commit
Adds a Pragma spelling for attributes to tablegen and makes use of it for loop
authorTyler Nowicki <tnowicki@apple.com>
Fri, 13 Jun 2014 17:57:25 +0000 (17:57 +0000)
committerTyler Nowicki <tnowicki@apple.com>
Fri, 13 Jun 2014 17:57:25 +0000 (17:57 +0000)
commitfe84cfe70015f94322e3517b4bf3e5cbf29811d4
tree09148b345995c1afd09db49217b82d944351b161
parentee5a39f2cf1dce6408eea925fab7312572b421f5
Adds a Pragma spelling for attributes to tablegen and makes use of it for loop
hint attributes. Includes tests for pragma printing and for attribute order
which is incorrectly reversed by ParsedAttributes.

Reviewed by Aaron Ballman

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210925 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/Attributes.h
include/clang/Sema/AttributeList.h
lib/AST/StmtPrinter.cpp
lib/Parse/ParseStmt.cpp
test/Misc/ast-print-pragmas-xfail.cpp [new file with mode: 0644]
test/Misc/ast-print-pragmas.cpp [new file with mode: 0644]
utils/TableGen/ClangAttrEmitter.cpp