================
@@ -13914,10 +13914,21 @@ def err_cast_from_randomized_struct : Error<
"casting from randomized structure pointer type %0 to %1">;
// Unsafe buffer usage diagnostics.
+def warn_unsafe_buffer_variable_main_argv : Warning<
+ "%0 is an %select{unsafe pointer used for buffer access|unsafe buffer that "
+ "does not perform bounds checks}1">,
+ InGroup<UnsafeBufferUsageMainArgv>, DefaultIgnore;
+
----------------
shreya-jain wrote:
Done here and below
https://github.com/llvm/llvm-project/pull/229871
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits