clang-tools 22.0.0git
|
Checks for declarations of functions which differ in parameter names. More...
#include <InconsistentDeclarationParameterNameCheck.h>
Public Member Functions | |
InconsistentDeclarationParameterNameCheck (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 |
std::optional< TraversalKind > | getCheckTraversalKind () const override |
Checks for declarations of functions which differ in parameter names.
For detailed documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html
Definition at line 23 of file InconsistentDeclarationParameterNameCheck.h.
|
inline |
Definition at line 25 of file InconsistentDeclarationParameterNameCheck.h.
|
override |
Definition at line 297 of file InconsistentDeclarationParameterNameCheck.cpp.
References clang::tidy::readability::findInconsistentDeclarations(), clang::tidy::readability::formatDiagnostics(), clang::tidy::readability::formatDiagnosticsForDeclarations(), and clang::tidy::readability::getParameterSourceDeclaration().
|
inlineoverride |
Definition at line 34 of file InconsistentDeclarationParameterNameCheck.h.
|
override |
Definition at line 291 of file InconsistentDeclarationParameterNameCheck.cpp.
|
override |
Definition at line 285 of file InconsistentDeclarationParameterNameCheck.cpp.