[clang-tools-extra] [clang-tidy] Add C++ member function support to custom bugprone-unsafe-functions matches (PR #117165)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 6 13:21:35 PST 2024
================
@@ -43,7 +43,10 @@ class UnsafeFunctionsCheck : public ClangTidyCheck {
private:
const std::vector<CheckedFunction> CustomFunctions;
- // If true, the default set of functions are reported.
+ /// If true, the fully qualified name of custom functions will be shown in a
+ /// note tag.
+ const bool ShowFullyQualifiedNames;
----------------
5chmidti wrote:
I don't think this is something that should be added. The only reason this exists, is to provide users the capability to debug false-positive matches on their regex. Or is there an additional reason to add this option?
https://github.com/llvm/llvm-project/pull/117165
More information about the cfe-commits
mailing list