[PATCH] D42508: AST: support protocol conformances on id/class/interfaces in MS ABI
David Majnemer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 24 16:20:14 PST 2018
majnemer added inline comments.
================
Comment at: lib/AST/MicrosoftMangle.cpp:2459-2465
+ if (T->isObjCId())
+ mangleSourceName("objc_object");
+ else if (T->isObjCClass())
+ mangleSourceName("objc_class");
+ else
+ mangleSourceName(T->getInterface()->getName());
+
----------------
Hmm, this is a template... I don't think this will do the right thing wrt backreferences.
================
Comment at: lib/AST/MicrosoftMangle.cpp:2468
+ Out << 'Y';
+ mangleSourceName(Q->getName());
+ Out << '@';
----------------
Probably want a comment stating that this is cointerface.
Repository:
rC Clang
https://reviews.llvm.org/D42508
More information about the cfe-commits
mailing list