clang-tools
7.0.0
|
Analyzes whether any mutative operations are applied to an expression within a given statement. More...
#include <ExprMutationAnalyzer.h>
Public Member Functions | |
ExprMutationAnalyzer (const Stmt *Stm, ASTContext *Context) | |
bool | isMutated (const Decl *Dec) |
bool | isMutated (const Expr *Exp) |
const Stmt * | findMutation (const Expr *Exp) |
Analyzes whether any mutative operations are applied to an expression within a given statement.
Definition at line 24 of file ExprMutationAnalyzer.h.
|
inline |
Definition at line 26 of file ExprMutationAnalyzer.h.
const Stmt * clang::tidy::utils::ExprMutationAnalyzer::findMutation | ( | const Expr * | Exp | ) |
Definition at line 56 of file ExprMutationAnalyzer.cpp.
References Results.
Referenced by isMutated().
|
inline |
Definition at line 29 of file ExprMutationAnalyzer.h.
|
inline |
Definition at line 30 of file ExprMutationAnalyzer.h.
References findMutation().