Home
last modified time | relevance | path

Searched refs:IfStmt (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/test/Analysis/
Dtraversal-algorithm.mm198 // DFS-next:10 IfStmt
199 // DFS-next:16 IfStmt
200 // DFS-next:22 IfStmt
203 // DFS-next:22 IfStmt
206 // DFS-next:11 IfStmt
207 // DFS-next:22 IfStmt
210 // DFS-next:22 IfStmt
/external/bison/tests/
Dnamed-refs.at305 { $if_stmt1 = new IfStmt($cond1, $then.f1, $else); };
307 { $if_stmt2 = new IfStmt($cond, $stmt.field, 0); };
309 { $if_stmt3 = new IfStmt($cond, $stmt.list, 0); };
311 { $if_stmt4 = new IfStmt($cond, $xyz, $cond); };
313 { $if_stmt5 = new IfStmt($cond, $stmt.list, $else); };
315 { $if_stmt6 = new IfStmt($cond, $stmt.list.field, $else); };
317 { $if_stmt7 = new IfStmt($cond, $[stmt.list].field, $else); };
319 { $if_stmt8 = new IfStmt($cond, $then.1, $else); };
321 { $if_stmt9 = new IfStmt($cond, $then.1.field, $else); };
323 { $if_stmt10 = new IfStmt($cond, $stmt.x, 0); };
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp50 bool VisitIfStmt(const IfStmt *I);
107 bool FindIdenticalExprVisitor::VisitIfStmt(const IfStmt *I) { in VisitIfStmt()
121 while (const IfStmt *I2 = dyn_cast_or_null<IfStmt>(Else)) { in VisitIfStmt()
397 const IfStmt *IStmt1 = cast<IfStmt>(Stmt1); in isIdenticalStmt()
398 const IfStmt *IStmt2 = cast<IfStmt>(Stmt2); in isIdenticalStmt()
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp68 if (const IfStmt *Node = Result.Nodes.getStmtAs<IfStmt>(Id)) { in run()
/external/clang/lib/Analysis/
DBodyFarm.cpp246 IfStmt *If = new (C) IfStmt(C, SourceLocation(), nullptr, UO, CS); in create_dispatch_once()
350 new (C) IfStmt(C, SourceLocation(), nullptr, Comparison, Body, in create_OSAtomicCompareAndSwap()
DConsumed.cpp949 void splitVarStateForIf(const IfStmt * IfNode, const VarTestResult &Test, in splitVarStateForIf()
1274 if (const IfStmt *IfNode = in splitState()
1275 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState()
DCFG.cpp382 CFGBlock *VisitIfStmt(IfStmt *I);
1417 return VisitIfStmt(cast<IfStmt>(S)); in Visit()
2027 CFGBlock *CFGBuilder::VisitIfStmt(IfStmt *I) { in VisitIfStmt()
3833 const VarDecl *var = cast<IfStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
3927 void VisitIfStmt(IfStmt *I) { in VisitIfStmt()
4407 E = cast<IfStmt>(Terminator)->getCond(); in getTerminatorCondition()
/external/clang/unittests/AST/
DASTTypeTraitsTest.cpp42 EXPECT_TRUE(DNT<Stmt>().isBaseOf(DNT<IfStmt>(), &Distance)); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h890 const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt;
2372 IfStmt, ForStmt, WhileStmt, DoStmt, ConditionalOperator), in AST_POLYMORPHIC_MATCHER_P()
2386 AST_MATCHER_P(IfStmt, hasThen, internal::Matcher<Stmt>, InnerMatcher) { in AST_MATCHER_P() argument
2398 AST_MATCHER_P(IfStmt, hasElse, internal::Matcher<Stmt>, InnerMatcher) { in AST_MATCHER_P() argument
2447 AST_MATCHER_P(IfStmt, hasConditionVariableStatement, in AST_MATCHER_P() argument
/external/clang/lib/AST/
DParentMap.cpp189 return DirectChild == cast<IfStmt>(P)->getCond(); in isConsumedExpr()
DStmtPrinter.cpp68 void PrintRawIfStmt(IfStmt *If);
178 void StmtPrinter::PrintRawIfStmt(IfStmt *If) { in PrintRawIfStmt()
203 } else if (IfStmt *ElseIf = dyn_cast<IfStmt>(Else)) { in PrintRawIfStmt()
213 void StmtPrinter::VisitIfStmt(IfStmt *If) { in VisitIfStmt()
DStmt.cpp822 IfStmt::IfStmt(const ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond, in IfStmt() function in IfStmt
832 VarDecl *IfStmt::getConditionVariable() const { in getConditionVariable()
840 void IfStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp97 bool VisitIfStmt(IfStmt *S) { in VisitIfStmt()
DTransforms.cpp272 bool VisitIfStmt(IfStmt *S) { in VisitIfStmt()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp243 IfStmt, enumerator
334 return PGOHash::IfStmt; in getHashType()
652 void VisitIfStmt(const IfStmt *S) { in VisitIfStmt()
DCGStmt.cpp130 case Stmt::IfStmtClass: EmitIfStmt(cast<IfStmt>(*S)); break; in EmitStmt()
474 void CodeGenFunction::EmitIfStmt(const IfStmt &S) { in EmitIfStmt()
/external/clang/include/clang/Basic/
DStmtNodes.td16 def IfStmt : Stmt;
/external/clang/docs/analyzer/
DDebugChecks.rst49 during a path traversal ("IfStmt", "WhileStmt", etc). Currently used to check
/external/clang/docs/
DHowToSetupToolingForLLVM.rst125 (IfStmt 0x44d97c8 <line:65:5, line:66:45>
/external/chromium_org/v8/tools/gcmole/
Dgcmole.cc877 VISIT(IfStmt); in VisitStmt()
1032 DECL_VISIT_STMT(IfStmt) { in DECL_VISIT_STMT() argument
/external/clang/include/clang/AST/
DStmt.h867 class IfStmt : public Stmt {
875 IfStmt(const ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond,
880 explicit IfStmt(EmptyShell Empty) : Stmt(IfStmtClass, Empty) { } in IfStmt() function
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp402 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred); in HandleBlockExit()
DBugReporter.cpp469 if (cast<IfStmt>(Parent)->getCond() != S) in getEnclosingStmtLocation()
1928 return cast<IfStmt>(S)->getCond() == Cond; in isConditionForTerminator()
2110 isa<IfStmt>(s1Start) || isa<ObjCForCollectionStmt>(s1Start) || in simplifySimpleBranches()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp728 const IfStmt *IS = cast<IfStmt>(Term); in DiagUninitUse()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp1994 TEST(IfStmt, ChildTraversalMatchers) { in TEST() argument
3218 new VerifyIdIsBoundTo<IfStmt>("if", 6))); in TEST()
4232 new VerifyAncestorHasChildIsEqual<IfStmt>())); in TEST()

12