[PATCH] D65665: Support for attributes on @class declarations

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 2 10:51:09 PDT 2019


erik.pilkington created this revision.
erik.pilkington added reviewers: aaron.ballman, arphaman, rjmccall.
Herald added subscribers: dexonsmith, jkorous.
Herald added a project: clang.

This is useful to make availability checking work with forward declarations, but there also seem to be other attributes that make sense here.

rdar://43118198


Repository:
  rC Clang

https://reviews.llvm.org/D65665

Files:
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/Sema.h
  clang/lib/Parse/ParseObjc.cpp
  clang/lib/Parse/Parser.cpp
  clang/lib/Sema/SemaDeclObjC.cpp
  clang/test/CodeGenObjC/objc-asm-attribute-test.m
  clang/test/Misc/pragma-attribute-objc.m
  clang/test/Parser/attributes.mm
  clang/test/SemaObjC/attr-forward-class.m
  clang/test/SemaObjC/objc-asm-attribute-neg-test.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65665.213082.patch
Type: text/x-patch
Size: 11588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190802/55278829/attachment.bin>


More information about the cfe-commits mailing list