================
@@ -1773,8 +1773,9 @@ def ReadOnlyPlacementChecks : 
DiagGroup<"read-only-types">;
 // Warnings and fixes to support the "safe buffers" programming model.
 def UnsafeBufferUsageInContainer : 
DiagGroup<"unsafe-buffer-usage-in-container">;
 def UnsafeBufferUsageInLibcCall : 
DiagGroup<"unsafe-buffer-usage-in-libc-call">;
+def UnsafeBufferUsageFormatAttr : DiagGroup<"unsafe-buffer-usage-format-attr">;
----------------
ziqingluo-90 wrote:

Can we use `"unsafe-buffer-usage-in-format-attr-call"` for consistency?  
[Recently there is `-Wunsafe-buffer-usage-in-static-sized-array` added as 
well.](https://github.com/llvm/llvm-project/pull/176466)

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

Reply via email to