[PATCH] D30009: Add support for '#pragma clang attribute'

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 5 05:49:05 PDT 2017


arphaman updated this revision to Diff 94208.
arphaman marked an inline comment as done.
arphaman added a comment.

The `unterminated '#pragma clang attribute push' at end of file` diagnostic is now an error.


Repository:
  rL LLVM

https://reviews.llvm.org/D30009

Files:
  docs/LanguageExtensions.rst
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrSubjectMatchRules.h
  include/clang/Basic/CMakeLists.txt
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Basic/TokenKinds.def
  include/clang/Parse/CMakeLists.txt
  include/clang/Parse/Parser.h
  include/clang/Sema/AttributeList.h
  include/clang/Sema/Sema.h
  lib/Basic/Attributes.cpp
  lib/Parse/ParsePragma.cpp
  lib/Parse/ParseStmt.cpp
  lib/Parse/Parser.cpp
  lib/Sema/AttributeList.cpp
  lib/Sema/Sema.cpp
  lib/Sema/SemaAttr.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaDeclObjC.cpp
  test/FixIt/fixit-pragma-attribute.c
  test/FixIt/fixit-pragma-attribute.cpp
  test/Misc/pragma-attribute-cxx-subject-match-rules.cpp
  test/Misc/pragma-attribute-cxx.cpp
  test/Misc/pragma-attribute-objc-subject-match-rules.m
  test/Misc/pragma-attribute-objc.m
  test/Misc/pragma-attribute-strict-subjects.c
  test/Misc/pragma-attribute-supported-attributes-list.test
  test/Parser/pragma-attribute-declspec.cpp
  test/Parser/pragma-attribute.cpp
  test/Sema/pragma-attribute-strict-subjects.c
  test/Sema/pragma-attribute.c
  test/lit.cfg
  test/lit.site.cfg.in
  utils/TableGen/ClangAttrEmitter.cpp
  utils/TableGen/TableGen.cpp
  utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30009.94208.patch
Type: text/x-patch
Size: 166714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170405/9b5ed8e3/attachment-0001.bin>


More information about the cfe-commits mailing list