clang-tools 22.0.0git
|
Find redundant variable declarations. More...
#include <RedundantDeclarationCheck.h>
Public Member Functions | |
RedundantDeclarationCheck (StringRef Name, ClangTidyContext *Context) | |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Find redundant variable declarations.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-declaration.html
Definition at line 20 of file RedundantDeclarationCheck.h.
clang::tidy::readability::RedundantDeclarationCheck::RedundantDeclarationCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 26 of file RedundantDeclarationCheck.cpp.
|
override |
Definition at line 48 of file RedundantDeclarationCheck.cpp.
|
override |
Definition at line 36 of file RedundantDeclarationCheck.cpp.
|
override |
Definition at line 31 of file RedundantDeclarationCheck.cpp.