[PATCH] D69991: Implement __attribute__((objc_direct)), __attribute__((objc_direct_members))
Pierre Habouzit via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 7 23:37:05 PST 2019
MadCoder marked 2 inline comments as done.
MadCoder added inline comments.
================
Comment at: clang/lib/CodeGen/CGObjCMac.cpp:1588
// interface, we cannot perform this check.
+ //
+ // Note that for direct methods, because objc_msgSend is skipped,
----------------
doh I'll fix the tabs
================
Comment at: clang/lib/CodeGen/CGObjCMac.cpp:4075
+
+ if (OMD->isClassMethod()) {
+ const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(CD);
----------------
I suspect this function requires synthesizing some debug metadata but I have absolutely no idea how and what ;)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69991/new/
https://reviews.llvm.org/D69991
More information about the cfe-commits
mailing list