[clang] [sanitizer] [clang] Introduce fsanitize-bounds-strict-flex-arrays (PR #126163)

Florian Mayer via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 7 17:12:58 PST 2025


================
@@ -444,6 +444,19 @@ class LangOptionsBase {
     IncompleteOnly = 3,
   };
 
+  enum class ArrayBoundsStrictFlexArraysLevelKind {
----------------
fmayer wrote:

i have a weak preference for flags to have a value that can represent the state that is the same as if they were not passed in. that is of course also possible in the driver, but would be a bit more complexity there.

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


More information about the cfe-commits mailing list