clang-tools 22.0.0git
|
Finds ID-dependent variables and fields used within loops, and warns of their usage. More...
#include <IdDependentBackwardBranchCheck.h>
Public Member Functions | |
IdDependentBackwardBranchCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds ID-dependent variables and fields used within loops, and warns of their usage.
Using these variables in loops can lead to performance degradation.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/altera/id-dependent-backward-branch.html
Definition at line 22 of file IdDependentBackwardBranchCheck.h.
|
inline |
Definition at line 71 of file IdDependentBackwardBranchCheck.h.
|
override |
Definition at line 206 of file IdDependentBackwardBranchCheck.cpp.
|
override |
Definition at line 17 of file IdDependentBackwardBranchCheck.cpp.