[PATCH] D37436: Initial implementation of C attributes (WG14 N2137)

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 14:03:06 PDT 2017


aaron.ballman updated this revision to Diff 115279.
aaron.ballman added a comment.

Updated based on review feedback.

- Rename CAttributes to DoubleSquareBracketAttributes
- Added Objective-C test cases to demonstrate no regressed behavior (based on a use-case pointed out during review)
- Fixed regression with GNU-style attributes in enumerations

I still need to rename the cc1 flag, pending agreement on the name.


https://reviews.llvm.org/D37436

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/Attributes.h
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/AttributeList.h
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Lex/Lexer.cpp
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/lib/Parse/ParseTentative.cpp
  clang/lib/Sema/AttributeList.cpp
  clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p6.cpp
  clang/test/Misc/ast-dump-c-attr.c
  clang/test/Parser/c2x-attributes.c
  clang/test/Parser/c2x-attributes.m
  clang/test/Parser/cxx0x-attributes.cpp
  clang/test/Sema/attr-deprecated-c2x.c
  clang/utils/TableGen/ClangAttrEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37436.115279.patch
Type: text/x-patch
Size: 39147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170914/07c5e017/attachment-0001.bin>


More information about the cfe-commits mailing list