#include "InfiniteLoopCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Analysis/Analyses/ExprMutationAnalyzer.h"
Go to the source code of this file.
|
static internal::Matcher< Stmt > | clang::tidy::bugprone::loopEndingStmt (internal::Matcher< Stmt > Internal) |
|
static bool | clang::tidy::bugprone::isAccessForVar (const Stmt *S, const VarDecl *Var) |
| Return whether S is a reference to the declaration of Var . More...
|
|
static bool | clang::tidy::bugprone::isPtrOrReferenceForVar (const Stmt *S, const VarDecl *Var) |
| Return whether Var has a pointer or reference in S . More...
|
|
static bool | clang::tidy::bugprone::hasPtrOrReferenceInStmt (const Stmt *S, const VarDecl *Var) |
| Return whether Var has a pointer or reference in S . More...
|
|
static bool | clang::tidy::bugprone::hasPtrOrReferenceInFunc (const FunctionDecl *Func, const VarDecl *Var) |
| Return whether Var has a pointer or reference in Func . More...
|
|
static bool | clang::tidy::bugprone::isChanged (const Stmt *LoopStmt, const VarDecl *Var, ASTContext *Context) |
| Return whether Var was changed in LoopStmt . More...
|
|
static bool | clang::tidy::bugprone::isVarThatIsPossiblyChanged (const FunctionDecl *Func, const Stmt *LoopStmt, const Stmt *Cond, ASTContext *Context) |
| Return whether Cond is a variable that is possibly changed in LoopStmt . More...
|
|
static bool | clang::tidy::bugprone::isAtLeastOneCondVarChanged (const FunctionDecl *Func, const Stmt *LoopStmt, const Stmt *Cond, ASTContext *Context) |
| Return whether at least one variable of Cond changed in LoopStmt . More...
|
|
static std::string | clang::tidy::bugprone::getCondVarNames (const Stmt *Cond) |
| Return the variable names in Cond . More...
|
|
static bool | clang::tidy::bugprone::isKnownFalse (const Expr &Cond, const ASTContext &Ctx) |
|