rjmccall added a comment.

Okay, one last minor request, then LGTM.



================
Comment at: lib/CodeGen/CGObjC.cpp:2953
+  return asImpl().visitExpr(e);
+}
+
----------------
Oh, I'd forgotten this wasn't a normal expression visitor.  Well, okay, this 
isn't too bad.


================
Comment at: lib/Sema/SemaExpr.cpp:12461
+      if (auto *BE = dyn_cast<BlockExpr>(RHS.get()->IgnoreParens()))
+        if (auto *DRE = dyn_cast<DeclRefExpr>(LHS.get()))
+          if (auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
----------------
You should `IgnoreParens` on the LHS as well.  In general, you should always 
`IgnoreParens`.


Repository:
  rC Clang

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

https://reviews.llvm.org/D58514



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

Reply via email to