diff options
author | Discookie <viktor.cseh@ericsson.com> | 2024-09-26 12:52:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 12:52:13 +0000 |
commit | 0b8866d15ac5806a980d2ff2ea63240d8acfa778 (patch) | |
tree | 795a300fc3915c7601f4d901ec3b7fa3c1c0a527 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9abf6d3506c7289e062836cb9f70a9eaa56bcb68 (diff) | |
download | llvm-0b8866d15ac5806a980d2ff2ea63240d8acfa778.zip llvm-0b8866d15ac5806a980d2ff2ea63240d8acfa778.tar.gz llvm-0b8866d15ac5806a980d2ff2ea63240d8acfa778.tar.bz2 |
[clang-tidy] Add user-defined functions to `bugprone-unsafe-functions` check (#106350)
Adds the check option `bugprone-unsafe-functions.CustomFunctions` to be
able to match user-defined functions as part of the checker.
Adds the option `bugprone-unsafe-functions.ReportDefaultFunctions` to
disable reporting the default set of functions as well.
The functions names are matched using the same mechanism as the
`matchesAnyListedName` tidy matcher, documented in
`unsafe-functions.rst`.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions