Home
last modified time | relevance | path

Searched refs:Stmt1 (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp29 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1,
108 const Stmt *Stmt1 = I->getThen(); in VisitIfStmt() local
116 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt()
136 if (Stmt1 && Stmt2) { in VisitIfStmt()
153 if (!Stmt1 || !Stmt2) in VisitIfStmt()
162 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt()
164 Stmt1 = CompStmt->body_back(); in VisitIfStmt()
171 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) { in VisitIfStmt()
304 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1, in isIdenticalStmt() argument
307 if (!Stmt1 || !Stmt2) { in isIdenticalStmt()
[all …]