[clang] [LifetimeSafety] Handle xvalue operand of LValueToRValue cast (PR #192312)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 01:28:16 PDT 2026
================
@@ -1,6 +1,7 @@
// RUN: rm -rf %t
// RUN: split-file %s %t
// RUN: %clang_cc1 -fsyntax-only -flifetime-safety-inference -fexperimental-lifetime-safety-tu-analysis -Wlifetime-safety-suggestions -Wlifetime-safety -Wno-dangling -I%t -I%S -verify %t/test_source.cpp
+// RUN: %clang_cc1 -fsyntax-only -std=c++23 -flifetime-safety-inference -fexperimental-lifetime-safety-tu-analysis -Wlifetime-safety-suggestions -Wlifetime-safety -Wno-dangling -I%t -I%S -verify %t/test_source.cpp
----------------
usx95 wrote:
Can you also add the previously failing test in the issue.
https://github.com/llvm/llvm-project/pull/192312
More information about the cfe-commits
mailing list