Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp98 if (S->getConditionVariable()) in VisitIfStmt()
110 if (S->getConditionVariable()) in VisitWhileStmt()
/external/clang/lib/CodeGen/
DCGStmt.cpp545 if (S.getConditionVariable()) in EmitIfStmt()
546 EmitAutoVarDecl(*S.getConditionVariable()); in EmitIfStmt()
638 if (S.getConditionVariable()) in EmitWhileStmt()
639 EmitAutoVarDecl(*S.getConditionVariable()); in EmitWhileStmt()
792 if (S.getConditionVariable()) { in EmitForStmt()
793 EmitAutoVarDecl(*S.getConditionVariable()); in EmitForStmt()
1443 if (S.getConditionVariable()) in EmitSwitchStmt()
1444 EmitAutoVarDecl(*S.getConditionVariable()); in EmitSwitchStmt()
1468 if (S.getConditionVariable()) in EmitSwitchStmt()
1469 EmitAutoVarDecl(*S.getConditionVariable()); in EmitSwitchStmt()
/external/clang/lib/AST/
DStmt.cpp769 VarDecl *IfStmt::getConditionVariable() const { in getConditionVariable() function in IfStmt
800 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable() function in ForStmt
826 VarDecl *SwitchStmt::getConditionVariable() const { in getConditionVariable() function in SwitchStmt
860 VarDecl *WhileStmt::getConditionVariable() const { in getConditionVariable() function in WhileStmt
DStmtProfile.cpp119 VisitDecl(S->getConditionVariable()); in VisitIfStmt()
124 VisitDecl(S->getConditionVariable()); in VisitSwitchStmt()
129 VisitDecl(S->getConditionVariable()); in VisitWhileStmt()
DASTImporter.cpp4691 if (VarDecl *FromConditionVariable = S->getConditionVariable()) { in VisitIfStmt()
4715 if (VarDecl *FromConditionVariable = S->getConditionVariable()) { in VisitSwitchStmt()
4750 if (VarDecl *FromConditionVariable = S->getConditionVariable()) { in VisitWhileStmt()
4792 if (VarDecl *FromConditionVariable = S->getConditionVariable()) { in VisitForStmt()
DExprConstant.cpp3382 if (SS->getConditionVariable() && in EvaluateSwitch()
3383 !EvaluateDecl(Info, SS->getConditionVariable())) in EvaluateSwitch()
3565 if (!EvaluateCond(Info, IS->getConditionVariable(), IS->getCond(), Cond)) in EvaluateStmt()
3581 if (!EvaluateCond(Info, WS->getConditionVariable(), WS->getCond(), in EvaluateStmt()
3621 if (FS->getCond() && !EvaluateCond(Info, FS->getConditionVariable(), in EvaluateStmt()
/external/clang/lib/Analysis/
DCFG.cpp2173 if (VarDecl *VD = I->getConditionVariable()) { in VisitIfStmt()
2246 if (!I->getConditionVariable()) in VisitIfStmt()
2395 if (VarDecl *VD = F->getConditionVariable()) in VisitForStmt()
2505 if (VarDecl *VD = F->getConditionVariable()) { in VisitForStmt()
2736 if (VarDecl *VD = W->getConditionVariable()) { in VisitWhileStmt()
2818 if (VarDecl *VD = W->getConditionVariable()) { in VisitWhileStmt()
3064 if (VarDecl *VD = Terminator->getConditionVariable()) { in VisitSwitchStmt()
3143 if (VarDecl *VD = Terminator->getConditionVariable()) { in VisitSwitchStmt()
3991 const VarDecl *var = cast<IfStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
3997 const VarDecl *var = cast<ForStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper()
[all …]
/external/clang/include/clang/AST/
DStmt.h892 VarDecl *getConditionVariable() const;
963 VarDecl *getConditionVariable() const;
1044 VarDecl *getConditionVariable() const;
1155 VarDecl *getConditionVariable() const;
/external/clang/lib/Sema/
DTreeTransform.h6108 if (S->getConditionVariable()) { in TransformIfStmt()
6112 S->getConditionVariable()->getLocation(), in TransformIfStmt()
6113 S->getConditionVariable())); in TransformIfStmt()
6134 if (!S->getConditionVariable() && S->getCond() && !FullCond.get()) in TransformIfStmt()
6149 ConditionVar == S->getConditionVariable() && in TransformIfStmt()
6165 if (S->getConditionVariable()) { in TransformSwitchStmt()
6169 S->getConditionVariable()->getLocation(), in TransformSwitchStmt()
6170 S->getConditionVariable())); in TransformSwitchStmt()
6203 if (S->getConditionVariable()) { in TransformWhileStmt()
6207 S->getConditionVariable()->getLocation(), in TransformWhileStmt()
[all …]
DJumpDiagnostics.cpp308 if (VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) { in BuildScopeInformation()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp122 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitIfStmt()
133 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitSwitchStmt()
146 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitWhileStmt()
167 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitForStmt()
/external/clang/tools/libclang/
DCIndex.cpp2377 AddDecl(FS->getConditionVariable()); in VisitForStmt()
2387 AddDecl(If->getConditionVariable()); in VisitIfStmt()
2461 AddDecl(S->getConditionVariable()); in VisitSwitchStmt()
2467 AddDecl(W->getConditionVariable()); in VisitWhileStmt()