/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | InfiniteLoopCheck.cpp | 113 if (Cond.EvaluateAsBooleanCondition(Result, Ctx)) in isKnownFalse()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaConcept.cpp | 527 BO->getLHS()->EvaluateAsBooleanCondition(LHSSatisfied, S.Context); in diagnoseWellFormedUnsatisfiedConstraintExpr() 538 BO->getRHS()->EvaluateAsBooleanCondition(RHSSatisfied, S.Context); in diagnoseWellFormedUnsatisfiedConstraintExpr()
|
D | SemaChecking.cpp | 4278 Expr->EvaluateAsBooleanCondition(Result, S.Context) && in CheckNonNullExpr() 7104 if (C->getCond()->EvaluateAsBooleanCondition(Cond, S.getASTContext(), in checkFormatStringExpr() 10657 if (CO->getCond()->EvaluateAsBooleanCondition(CondResult, C)) in GetExprRange() 13121 EvalOK = E->EvaluateAsBooleanCondition( in evaluate() 15435 if (ACO->getCond()->EvaluateAsBooleanCondition(Result, Ctx, in FindTypeTagExpr()
|
D | SemaOverload.cpp | 6740 return DIA->getCond()->EvaluateAsBooleanCondition(Result, Context) && in diagnoseArgIndependentDiagnoseIfAttrs() 10148 !EnableIf->getCond()->EvaluateAsBooleanCondition(AlwaysTrue, Ctx)) in isFunctionAlwaysEnabled()
|
D | SemaExpr.cpp | 14171 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && Res; in EvaluatesAsTrue() 14179 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && !Res; in EvaluatesAsFalse()
|
D | SemaTemplate.cpp | 3601 if (Term->EvaluateAsBooleanCondition(Succeeded, Context) && in findFailedBooleanCondition()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1640 static bool EvaluateAsBooleanCondition(const Expr *E, bool &Result, in EvaluateAsBooleanCondition() function 3442 return EvaluateAsBooleanCondition(Cond, Result, Info); in EvaluateCond() 3720 if (!EvaluateAsBooleanCondition(DS->getCond(), Continue, Info)) in EvaluateStmt() 3778 if (!EvaluateAsBooleanCondition(FS->getCond(), Continue, Info)) in EvaluateStmt() 4193 if (!EvaluateAsBooleanCondition(E->getCond(), BoolResult, Info)) { in HandleConditionalOperator() 8010 if (!EvaluateAsBooleanCondition(E->getSubExpr(), bres, Info)) in VisitUnaryOperator() 8084 if (!EvaluateAsBooleanCondition(SubExpr, BoolResult, Info)) in VisitCastExpr() 9159 bool Expr::EvaluateAsBooleanCondition(bool &Result, in EvaluateAsBooleanCondition() function in Expr
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 2499 static bool EvaluateAsBooleanCondition(const Expr *E, bool &Result, in EvaluateAsBooleanCondition() function 4849 if (!EvaluateAsBooleanCondition(Cond, Result, Info)) in EvaluateCond() 5240 if (!EvaluateAsBooleanCondition(DS->getCond(), Continue, Info) || in EvaluateStmt() 5337 if (!EvaluateAsBooleanCondition(FS->getCond(), Continue, Info)) in EvaluateStmt() 7289 if (!EvaluateAsBooleanCondition(E->getCond(), BoolResult, Info)) { in HandleConditionalOperator() 13127 if (!EvaluateAsBooleanCondition(E->getSubExpr(), bres, Info)) in VisitUnaryOperator() 13207 if (!EvaluateAsBooleanCondition(SubExpr, BoolResult, Info)) in VisitCastExpr() 13371 if (!EvaluateAsBooleanCondition(E->getSubExpr(), bres, Info)) in VisitUnaryOperator() 14716 bool Expr::EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx, in EvaluateAsBooleanCondition() function in Expr
|
D | Expr.cpp | 3193 Arg->EvaluateAsBooleanCondition(ArgVal, Ctx) && !ArgVal; in isBuiltinAssumeFalse()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1918 Expr->EvaluateAsBooleanCondition(Result, S.Context) && in CheckNonNullExpr() 3838 if (C->getCond()->EvaluateAsBooleanCondition(Cond, S.getASTContext())) { in checkFormatStringExpr() 7154 if (CO->getCond()->EvaluateAsBooleanCondition(CondResult, C)) in GetExprRange() 9033 EvalOK = E->EvaluateAsBooleanCondition(Result, Self.SemaRef.Context); in evaluate() 10726 if (ACO->getCond()->EvaluateAsBooleanCondition(Result, Ctx)) { in FindTypeTagExpr()
|
D | SemaExpr.cpp | 11047 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && Res; in EvaluatesAsTrue() 11055 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && !Res; in EvaluatesAsFalse()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 955 if (E->EvaluateAsBooleanCondition(Result, *Context)) in evaluateAsBooleanConditionNoCache()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 583 bool EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx) const;
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 630 bool EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx,
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 1275 if (E->EvaluateAsBooleanCondition(Result, *Context)) in evaluateAsBooleanConditionNoCache()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 6700 if (Cond->EvaluateAsBooleanCondition(Result, CGF.getContext())) { in getNumThreads() 6891 if (Cond->EvaluateAsBooleanCondition(Result, CGF.getContext())) { in emitNumThreadsForTargetDirective()
|