[PATCH] D69991: Implement __attribute__((objc_direct)), __attribute__((objc_direct_members))
Pierre Habouzit via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 14:05:47 PST 2019
MadCoder updated this revision to Diff 229183.
MadCoder marked 2 inline comments as done.
MadCoder added a comment.
Beefed up the tests, addressed the `selfValue` related issue.
Also rolled back to the `ObjCDeclInterfaceDecl` cast in GenerateDirectMethod as it turns out that all callers pass this type rather than an `ObjCImplDecl` however it's never nil and always of that type so make this an assert instead.
Did a pass of clang-format to clean up style
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69991/new/
https://reviews.llvm.org/D69991
Files:
clang/include/clang/AST/DeclObjC.h
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/ObjCRuntime.h
clang/include/clang/Sema/DeclSpec.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/DeclObjC.cpp
clang/lib/AST/DeclPrinter.cpp
clang/lib/AST/JSONNodeDumper.cpp
clang/lib/AST/TextNodeDumper.cpp
clang/lib/CodeGen/CGObjC.cpp
clang/lib/CodeGen/CGObjCGNU.cpp
clang/lib/CodeGen/CGObjCMac.cpp
clang/lib/CodeGen/CGObjCRuntime.h
clang/lib/Parse/ParseObjc.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaDeclObjC.cpp
clang/lib/Sema/SemaExprObjC.cpp
clang/lib/Sema/SemaObjCProperty.cpp
clang/test/CodeGenObjC/direct-method.m
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/SemaObjC/method-direct.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69991.229183.patch
Type: text/x-patch
Size: 62375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191113/124b6512/attachment-0001.bin>
More information about the cfe-commits
mailing list