[clang] [LifetimeSafety] Fix 'clang::lifetimebound' ignored on template method definition (PR #178000)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 27 01:00:15 PST 2026
================
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety -Wno-dangling -verify=expected,function %s
-// RUN: %clang_cc1 -fsyntax-only -flifetime-safety-inference -fexperimental-lifetime-safety-tu-analysis -Wlifetime-safety -Wno-dangling -verify %s
+// RUN: %clang_cc1 -fsyntax-only -flifetime-safety-inference -fexperimental-lifetime-safety-tu-analysis -Wlifetime-safety -Wno-dangling -verify=expected,inference %s
----------------
usx95 wrote:
`-verify=expected,tu`as the particular test depends on tu-analysis
We can add inference later if there is some test which depends on inference.
https://github.com/llvm/llvm-project/pull/178000
More information about the cfe-commits
mailing list