[PATCH] D125936: [Sema] Relax an assertion in BuildStmtExpr

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 16 10:59:09 PDT 2022


rjmccall added inline comments.


================
Comment at: clang/lib/CodeGen/CGStmt.cpp:2291
+  // statement.
+  CodeGenFunction::RunCleanupsScope Cleanups(*this);
+
----------------
Do we need to do anything special when entering the full expressions to make sure that enclosing-block features like blocks and C compound literals have the right lifetime?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125936



More information about the cfe-commits mailing list