[clang] [Lifetime Safety] Public Vs Private Annotation Suggestions (PR #171972)

Kashika Akhouri via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 15 00:36:19 PST 2025


================
@@ -1,4 +1,14 @@
-// RUN: %clang_cc1 -fsyntax-only -fexperimental-lifetime-safety -fexperimental-lifetime-safety-inference -Wexperimental-lifetime-safety-suggestions -Wexperimental-lifetime-safety -verify %s
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+// RUN: %clang_cc1 -fsyntax-only -fexperimental-lifetime-safety -fexperimental-lifetime-safety-inference -Wexperimental-lifetime-safety-suggestions  -Wexperimental-lifetime-safety -I%t -verify %t/test_source.cpp
+
+//===----------------------------------------------------------------------===//
+// Public Annotation Test Cases
+//===----------------------------------------------------------------------===//
----------------
kashika0112 wrote:

Done

https://github.com/llvm/llvm-project/pull/171972


More information about the cfe-commits mailing list