vsk added a comment.

Looks reasonable to me.



================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:3457
+  // the interface type.
+  if (const auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(D)) {
+    auto *ID = dyn_cast_or_null<ObjCInterfaceDecl>(CD);
----------------
Return early on '! dyn_cast<ObjCMethodDecl>'? It doesn't look like 'D' may be 
null.


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

https://reviews.llvm.org/D66121



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to