rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

Looks good (with the comment suitably tweaked). Thanks!



================
Comment at: clang/lib/CodeGen/CGExpr.cpp:4334
         incrementProfileCounter(expr);
+      // If a throw expression we need to return dead as lvalue.
+      if (auto *ThrowExpr = dyn_cast<CXXThrowExpr>(live->IgnoreParens())) {
----------------
Comment doesn't match the code any more.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77502



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

Reply via email to