[PATCH] D71091: Make sure that the implicit arguments for direct methods have been setup

Liu Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 12:06:35 PST 2019


liuliu marked an inline comment as done.
liuliu added inline comments.


================
Comment at: clang/lib/Sema/SemaDeclObjC.cpp:4839
 
+  ObjCMethod->createImplicitParams(Context, ObjCMethod->getClassInterface());
+
----------------
Yeah, I applied this change. As I said, for my trivial example it does work. But for my more thorough example with @property (direct) etc, it doesn't. I can dig into more later today or Monday. I just got everything work (with another more hackier fix) and would first to evaluate this as a viable path first before commit more time to debug this.

We probably can also just have a follow-up fix for that, depends on if reviewers thought this is blocking or not. I personally think not.


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

https://reviews.llvm.org/D71091





More information about the cfe-commits mailing list