clang-tools 22.0.0git
|
Default parameters are not allowed in declared functions. More...
#include <DefaultArgumentsDeclarationsCheck.h>
Public Member Functions | |
DefaultArgumentsDeclarationsCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Default parameters are not allowed in declared functions.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/fuchsia/default-arguments-declarations.html
Definition at line 20 of file DefaultArgumentsDeclarationsCheck.h.
|
inline |
Definition at line 22 of file DefaultArgumentsDeclarationsCheck.h.
|
override |
Definition at line 21 of file DefaultArgumentsDeclarationsCheck.cpp.
|
inlineoverride |
Definition at line 24 of file DefaultArgumentsDeclarationsCheck.h.
|
override |
Definition at line 16 of file DefaultArgumentsDeclarationsCheck.cpp.