|
clang-tools 23.0.0git
|
Finds lambda expressions with a redundant empty parameter list and removes it. More...
#include <RedundantLambdaParameterListCheck.h>
Public Member Functions | |
| RedundantLambdaParameterListCheck (StringRef Name, ClangTidyContext *Context) | |
| std::optional< TraversalKind > | getCheckTraversalKind () const override |
| void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
| void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
| bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
Finds lambda expressions with a redundant empty parameter list and removes it.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-lambda-parameter-list.html
Definition at line 21 of file RedundantLambdaParameterListCheck.h.
|
inline |
Definition at line 23 of file RedundantLambdaParameterListCheck.h.
|
override |
Definition at line 30 of file RedundantLambdaParameterListCheck.cpp.
References clang::tidy::utils::lexer::findNextTokenSkippingComments().
|
inlineoverride |
Definition at line 26 of file RedundantLambdaParameterListCheck.h.
|
inlineoverride |
Definition at line 32 of file RedundantLambdaParameterListCheck.h.
|
override |
Definition at line 26 of file RedundantLambdaParameterListCheck.cpp.