[PATCH] D41553: Support parsing double square-bracket attributes in ObjC

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 23 08:07:36 PST 2017


aaron.ballman created this revision.
aaron.ballman added a reviewer: rsmith.

One plausible use for the new double square-bracket attribute support in C are attributes appertaining to Objective-C constructs. This patch adds parsing support for such attributes and exposes a handful of ObjC attributes under the new syntax.


https://reviews.llvm.org/D41553

Files:
  include/clang/Basic/Attr.td
  include/clang/Sema/Sema.h
  lib/Parse/ParseObjc.cpp
  lib/Sema/SemaObjCProperty.cpp
  test/Misc/ast-dump-attr.m
  test/Parser/objc-attr.m
  test/Sema/annotate.c
  utils/TableGen/ClangAttrEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41553.128079.patch
Type: text/x-patch
Size: 15236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171223/5cc1878a/attachment-0001.bin>


More information about the cfe-commits mailing list