[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:33:04 PDT 2023


================
@@ -0,0 +1,5 @@
+
+// RUN: %clang -fbounds-safety-experimental -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -fbounds-safety-experimental -fsyntax-only %s 2>&1 | FileCheck %s
+
+// CHECK: warning: '-fbounds-safety' is ignored for assembly
----------------
delcypher wrote:

@rapidsna  Is some code missing from this PR? I see you now have a test but I can't find the code change that causes this warning to be emitted in the PR.

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


More information about the cfe-commits mailing list