clang-tools 22.0.0git
|
Finds suspicious string constructor and check their parameters. More...
#include <StringConstructorCheck.h>
Public Member Functions | |
StringConstructorCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds suspicious string constructor and check their parameters.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/string-constructor.html
Definition at line 20 of file StringConstructorCheck.h.
clang::tidy::bugprone::StringConstructorCheck::StringConstructorCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 41 of file StringConstructorCheck.cpp.
|
override |
Definition at line 168 of file StringConstructorCheck.cpp.
|
inlineoverride |
Definition at line 23 of file StringConstructorCheck.h.
|
override |
Definition at line 57 of file StringConstructorCheck.cpp.
|
override |
Definition at line 51 of file StringConstructorCheck.cpp.