[PATCH] D125936: [Sema] Relax an assertion in BuildStmtExpr
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 17:24:18 PDT 2022
rsmith added inline comments.
================
Comment at: clang/test/CodeGenCXX/asm.cpp:22
+ asm("" : : "r"(foo(a)) );
+}
+
----------------
Please add another statement here after the `asm` statement to check that the destructor is called at the end of the `asm` statement, not at the `}`.
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