clang-tools 22.0.0git
|
Find uninitialized local variables. More...
#include <InitVariablesCheck.h>
Public Member Functions | |
InitVariablesCheck (StringRef Name, ClangTidyContext *Context) | |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Find uninitialized local variables.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/init-variables.html
Definition at line 22 of file InitVariablesCheck.h.
clang::tidy::cppcoreguidelines::InitVariablesCheck::InitVariablesCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 26 of file InitVariablesCheck.cpp.
|
override |
Definition at line 58 of file InitVariablesCheck.cpp.
References clang::tidy::utils::lexer::findNextTerminator().
|
override |
Definition at line 39 of file InitVariablesCheck.cpp.
|
override |
Definition at line 52 of file InitVariablesCheck.cpp.
|
override |
Definition at line 34 of file InitVariablesCheck.cpp.