[clang-tools-extra] Add bugprone-sprintf-overlap (PR #114244)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 07:50:19 PDT 2024


================
@@ -131,6 +131,12 @@ New checks
   Gives warnings for tagged unions, where the number of tags is
   different from the number of data members inside the union.
 
+- New :doc:`bugprone-undefined-sprintf-overlap
+  <clang-tidy/checks/bugprone/undefined-sprintf-overlap>` check.
+
+  Finds calls to sprintf family of functions whose first argument
----------------
EugeneZelenko wrote:

```suggestion
  Finds calls to ``sprintf`` family of functions whose first argument
```

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


More information about the cfe-commits mailing list