[PATCH] D62643: [CodeGen][ObjC] Convert '[self alloc]' in a class method to 'objc_alloc(self)'

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 21:55:31 PDT 2019


rjmccall added inline comments.


================
Comment at: lib/CodeGen/CGObjC.cpp:376
+                                  bool isClassMessage,
+                                  bool isSelfReceiverInClassMethod) {
   auto &CGM = CGF.CGM;
----------------
I think it's fine to just call this a class message, unless I'm missing a reason to distinguish them in this function.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62643/new/

https://reviews.llvm.org/D62643





More information about the cfe-commits mailing list