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

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 09:14:56 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
+
----------------
MaskRay wrote:

We usually test `%clang` for driver and `%clang_cc1` for the others. Also, if we test `%clang_cc1`, we omit `%clang`.

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


More information about the cfe-commits mailing list