[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)

Dan Liew via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 30 13:34:58 PDT 2023


================
@@ -0,0 +1,5 @@
+; RUN: %clang -fbounds-safety-experimental -x ir -S %s -o /dev/null 2>&1 | FileCheck %s
+; RUN: %clang_cc1 -fbounds-safety-experimental -x ir -S %s -o /dev/null 2>&1 | FileCheck %s
+
----------------
delcypher wrote:

It might be worth having a small comment here explaining why you expect these diagnostics to not fire.

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


More information about the cfe-commits mailing list