[PATCH] D60542: Add support for attributes on @implementations in Objective-C

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 15:11:06 PDT 2019


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

We want to make `objc_nonlazy_class` apply to implementations, but ran into this. There doesn't seem to be any reason that this isn't supported.

Thanks for taking a look!
Erik


Repository:
  rC Clang

https://reviews.llvm.org/D60542

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/DiagnosticParseKinds.td
  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/FixIt/fixit-pragma-attribute.cpp
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/Parser/attributes.mm
  clang/test/Parser/objc-implementation-attrs.m
  clang/test/Parser/placeholder-recovery.m
  clang/test/Sema/pragma-attribute-strict-subjects.c
  clang/test/SemaObjC/attr-objc-non-lazy.m
  clang/test/SemaObjC/objc-asm-attribute-neg-test.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60542.194594.patch
Type: text/x-patch
Size: 19332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190410/4c590d50/attachment-0001.bin>


More information about the cfe-commits mailing list