================
@@ -0,0 +1,157 @@
+// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety-noescape -Wlifetime-safety 
-Wno-dangling -verify %s
----------------
usx95 wrote:

Can you remove `-Wlifetime-safety` and `-Wno-dangling` from here.

This would also require enabling the analysis through 
`IsLifetimeSafetyDiagnosticEnabled` in clang/lib/Sema/AnalysisBasedWarnings.cpp

https://github.com/llvm/llvm-project/pull/177260
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to