[clang-tools-extra] [clang-tidy] Add user-defined functions to `bugprone-unsafe-functions` check (PR #106350)

Kristóf Umann via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 02:36:12 PDT 2024


================
@@ -86,6 +124,19 @@ Options
    this option enables.
    Default is `true`.
 
+.. _option-ReportDefaultFunctions:
+
+.. option:: ReportDefaultFunctions
+
+    When `true`, the check reports the default set of functions.
+    Default is `true`.
----------------
Szelethus wrote:

"You can consider setting this to false if you only want to see custom functions matched via `CustomFunctions`"

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


More information about the cfe-commits mailing list