Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DInfiniteLoopCheck.cpp113 if (Cond.EvaluateAsBooleanCondition(Result, Ctx)) in isKnownFalse()
/external/llvm-project/clang/lib/Sema/
DSemaConcept.cpp527 BO->getLHS()->EvaluateAsBooleanCondition(LHSSatisfied, S.Context); in diagnoseWellFormedUnsatisfiedConstraintExpr()
538 BO->getRHS()->EvaluateAsBooleanCondition(RHSSatisfied, S.Context); in diagnoseWellFormedUnsatisfiedConstraintExpr()
DSemaChecking.cpp4278 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()
DSemaOverload.cpp6740 return DIA->getCond()->EvaluateAsBooleanCondition(Result, Context) && in diagnoseArgIndependentDiagnoseIfAttrs()
10148 !EnableIf->getCond()->EvaluateAsBooleanCondition(AlwaysTrue, Ctx)) in isFunctionAlwaysEnabled()
DSemaExpr.cpp14171 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && Res; in EvaluatesAsTrue()
14179 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && !Res; in EvaluatesAsFalse()
DSemaTemplate.cpp3601 if (Term->EvaluateAsBooleanCondition(Succeeded, Context) && in findFailedBooleanCondition()
/external/clang/lib/AST/
DExprConstant.cpp1640 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/
DExprConstant.cpp2499 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
DExpr.cpp3193 Arg->EvaluateAsBooleanCondition(ArgVal, Ctx) && !ArgVal; in isBuiltinAssumeFalse()
/external/clang/lib/Sema/
DSemaChecking.cpp1918 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()
DSemaExpr.cpp11047 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && Res; in EvaluatesAsTrue()
11055 E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && !Res; in EvaluatesAsFalse()
/external/clang/lib/Analysis/
DCFG.cpp955 if (E->EvaluateAsBooleanCondition(Result, *Context)) in evaluateAsBooleanConditionNoCache()
/external/clang/include/clang/AST/
DExpr.h583 bool EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx) const;
/external/llvm-project/clang/include/clang/AST/
DExpr.h630 bool EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx,
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp1275 if (E->EvaluateAsBooleanCondition(Result, *Context)) in evaluateAsBooleanConditionNoCache()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp6700 if (Cond->EvaluateAsBooleanCondition(Result, CGF.getContext())) { in getNumThreads()
6891 if (Cond->EvaluateAsBooleanCondition(Result, CGF.getContext())) { in emitNumThreadsForTargetDirective()