================
@@ -689,6 +690,12 @@ static bool isSafeArraySubscript(const ArraySubscriptExpr 
&Node,
     return false;
   }
 
+  if (IgnoreStaticSizedArrays) {
----------------
mxms0 wrote:

I did think about that - and it looks like -fsanitize-=array-bounds _does_ 
cover string literals? https://godbolt.org/z/fhEfd7aKT 

https://github.com/llvm/llvm-project/pull/176466
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to