reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/ExprConstant.cpp
 4466   if (!Info.nextStep(S))
 4495       BlockScopeRAII Scope(Info);
 4500         EvalStmtResult ESR = EvaluateStmt(Result, Info, Init, Case);
 4512       EvalStmtResult ESR = EvaluateStmt(Result, Info, IS->getThen(), Case);
 4520       ESR = EvaluateStmt(Result, Info, IS->getElse(), Case);
 4530           EvaluateLoopBody(Result, Info, cast<WhileStmt>(S)->getBody(), Case);
 4538       BlockScopeRAII Scope(Info);
 4543         EvalStmtResult ESR = EvaluateStmt(Result, Info, Init, Case);
 4551           EvaluateLoopBody(Result, Info, FS->getBody(), Case);
 4555         FullExpressionRAII IncScope(Info);
 4556         if (!EvaluateIgnoredValue(Info, FS->getInc()) || !IncScope.destroy())
 4569             if (!EvaluateVarDecl(Info, VD))
 4591       FullExpressionRAII Scope(Info);
 4592       if (!EvaluateIgnoredValue(Info, E) || !Scope.destroy())
 4597     Info.FFDiag(S->getBeginLoc());
 4607       FullExpressionRAII Scope(Info);
 4608       if (!EvaluateDecl(Info, D) && !Info.noteFailure())
 4608       if (!EvaluateDecl(Info, D) && !Info.noteFailure())
 4618     FullExpressionRAII Scope(Info);
 4621               ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr)
 4622               : Evaluate(Result.Value, Info, RetExpr)))
 4628     BlockScopeRAII Scope(Info);
 4632       EvalStmtResult ESR = EvaluateStmt(Result, Info, BI, Case);
 4650     BlockScopeRAII Scope(Info);
 4652       EvalStmtResult ESR = EvaluateStmt(Result, Info, Init);
 4660     if (!EvaluateCond(Info, IS->getConditionVariable(), IS->getCond(), Cond))
 4664       EvalStmtResult ESR = EvaluateStmt(Result, Info, SubStmt);
 4677       BlockScopeRAII Scope(Info);
 4679       if (!EvaluateCond(Info, WS->getConditionVariable(), WS->getCond(),
 4685       EvalStmtResult ESR = EvaluateLoopBody(Result, Info, WS->getBody());
 4701       EvalStmtResult ESR = EvaluateLoopBody(Result, Info, DS->getBody(), Case);
 4706       FullExpressionRAII CondScope(Info);
 4707       if (!EvaluateAsBooleanCondition(DS->getCond(), Continue, Info) ||
 4716     BlockScopeRAII ForScope(Info);
 4718       EvalStmtResult ESR = EvaluateStmt(Result, Info, FS->getInit());
 4726       BlockScopeRAII IterScope(Info);
 4728       if (FS->getCond() && !EvaluateCond(Info, FS->getConditionVariable(),
 4734       EvalStmtResult ESR = EvaluateLoopBody(Result, Info, FS->getBody());
 4742         FullExpressionRAII IncScope(Info);
 4743         if (!EvaluateIgnoredValue(Info, FS->getInc()) || !IncScope.destroy())
 4755     BlockScopeRAII Scope(Info);
 4759       EvalStmtResult ESR = EvaluateStmt(Result, Info, FS->getInit());
 4768     EvalStmtResult ESR = EvaluateStmt(Result, Info, FS->getRangeStmt());
 4776     ESR = EvaluateStmt(Result, Info, FS->getBeginStmt());
 4782     ESR = EvaluateStmt(Result, Info, FS->getEndStmt());
 4793         FullExpressionRAII CondExpr(Info);
 4794         if (!EvaluateAsBooleanCondition(FS->getCond(), Continue, Info))
 4801       BlockScopeRAII InnerScope(Info);
 4802       ESR = EvaluateStmt(Result, Info, FS->getLoopVarStmt());
 4810       ESR = EvaluateLoopBody(Result, Info, FS->getBody());
 4818       if (!EvaluateIgnoredValue(Info, FS->getInc()))
 4829     return EvaluateSwitch(Result, Info, cast<SwitchStmt>(S));
 4838     return EvaluateStmt(Result, Info, cast<LabelStmt>(S)->getSubStmt(), Case);
 4843     return EvaluateStmt(Result, Info, cast<AttributedStmt>(S)->getSubStmt(),
 4848     return EvaluateStmt(Result, Info, cast<SwitchCase>(S)->getSubStmt(), Case);
 4851     return EvaluateStmt(Result, Info, cast<CXXTryStmt>(S)->getTryBlock(), Case);