================ @@ -0,0 +1,47 @@ +// RUN: %clang_cc1 -fsyntax-only -fexperimental-lifetime-safety -Wexperimental-lifetime-safety -fexperimental-lifetime-safety-max-cfg-blocks=3 -Wno-dangling %s 2>&1 | FileCheck %s --check-prefix=CHECK-BAILOUT +// RUN: %clang_cc1 -fsyntax-only -fexperimental-lifetime-safety -Wexperimental-lifetime-safety -Wno-dangling %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOBAILOUT ---------------- usx95 wrote:
Please use -verify=foo,bar to verify clang diagnostics instead of using FileCheck https://clang.llvm.org/docs/InternalsManual.html#verifying-diagnostics https://github.com/llvm/llvm-project/pull/170444 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
