clang-tools 22.0.0git
|
Finds ranged-based for loops that can be replaced by a call to std::any_of or std::all_of. More...
#include <UseAnyOfAllOfCheck.h>
Public Member Functions | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds ranged-based for loops that can be replaced by a call to std::any_of or std::all_of.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/use-anyofallof.html
Definition at line 22 of file UseAnyOfAllOfCheck.h.
|
override |
Definition at line 88 of file UseAnyOfAllOfCheck.cpp.
References clang::tidy::readability::isViableLoop().
|
inlineoverride |
Definition at line 26 of file UseAnyOfAllOfCheck.h.
|
override |
Definition at line 42 of file UseAnyOfAllOfCheck.cpp.