Home
last modified time | relevance | path

Searched refs:EvaluatesAsTrue (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaExpr.cpp11044 static bool EvaluatesAsTrue(Sema &S, Expr *E) { in EvaluatesAsTrue() function
11067 if (!EvaluatesAsTrue(S, Bop->getLHS())) in DiagnoseLogicalAndInLogicalOrLHS()
11073 if (RBop->getOpcode() == BO_LAnd && EvaluatesAsTrue(S, RBop->getRHS())) in DiagnoseLogicalAndInLogicalOrLHS()
11089 if (!EvaluatesAsTrue(S, Bop->getRHS())) in DiagnoseLogicalAndInLogicalOrRHS()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp14168 static bool EvaluatesAsTrue(Sema &S, Expr *E) { in EvaluatesAsTrue() function
14191 if (!EvaluatesAsTrue(S, Bop->getLHS())) in DiagnoseLogicalAndInLogicalOrLHS()
14197 if (RBop->getOpcode() == BO_LAnd && EvaluatesAsTrue(S, RBop->getRHS())) in DiagnoseLogicalAndInLogicalOrLHS()
14213 if (!EvaluatesAsTrue(S, Bop->getRHS())) in DiagnoseLogicalAndInLogicalOrRHS()