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)
commite8b07ed080ec11a32de21ac1af5da2bbf3d62281
tree045fab6b3187928cd890df382d63772808600c92
parente595e1ade02c7581a2e2ad5392f7714b7f342c05
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

llvm-svn: 210925
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/Attributes.h
clang/include/clang/Sema/AttributeList.h
clang/lib/AST/StmtPrinter.cpp
clang/lib/Parse/ParseStmt.cpp
clang/test/Misc/ast-print-pragmas-xfail.cpp [new file with mode: 0644]
clang/test/Misc/ast-print-pragmas.cpp [new file with mode: 0644]
clang/utils/TableGen/ClangAttrEmitter.cpp