[PATCH] D56469: [ObjC] Allow the use of implemented unavailable methods from within the @implementation context

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 9 11:00:49 PST 2019


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


================
Comment at: lib/Sema/SemaDeclAttr.cpp:7292
+      if (const auto *MD = dyn_cast<ObjCMethodDecl>(OffendingDecl)) {
+        if (const auto *Impl = dyn_cast<ObjCImplDecl>(Ctx)) {
+          if (MD->getClassInterface() == Impl->getClassInterface() &&
----------------
erik.pilkington wrote:
> This should be `C` instead of `Ctx` right? Sorry, the naming here really sucks.
right, I'll fix that.


Repository:
  rC Clang

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

https://reviews.llvm.org/D56469





More information about the cfe-commits mailing list