[clang] [Sema] Fix lifetime extension for temporaries in range-based for loops in C++23 (PR #145164)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 22 04:44:00 PDT 2025
================
@@ -0,0 +1,79 @@
+// RUN: %clangxx -std=c++23 -fsyntax-only -Xclang -verify %s
----------------
zwuis wrote:
Use `%clang_cc1` for frontend tests.
`-Xclang` can be removed.
https://github.com/llvm/llvm-project/pull/145164
More information about the cfe-commits
mailing list