Home
last modified time | relevance | path

Searched refs:isKnownToHaveBooleanValue (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/AST/
DExpr.cpp112 bool Expr::isKnownToHaveBooleanValue() const { in isKnownToHaveBooleanValue() function in Expr
123 return UO->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue()
134 return CE->getSubExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue()
153 return BO->getLHS()->isKnownToHaveBooleanValue() && in isKnownToHaveBooleanValue()
154 BO->getRHS()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue()
158 return BO->getRHS()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue()
163 return CO->getTrueExpr()->isKnownToHaveBooleanValue() && in isKnownToHaveBooleanValue()
164 CO->getFalseExpr()->isKnownToHaveBooleanValue(); in isKnownToHaveBooleanValue()
/external/clang/lib/Analysis/
DCFG.cpp657 if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue()) in checkIncorrectRelationalOperator()
721 } else if (BoolExpr->isKnownToHaveBooleanValue()) { in checkIncorrectEqualityOperator()
/external/clang/lib/Sema/
DSemaStmt.cpp773 if (CondExpr->isKnownToHaveBooleanValue()) { in ActOnFinishSwitchStmt()
DSemaExpr.cpp8996 if (RHS.get()->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison()
9000 if (SubExpr->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison()
DSemaChecking.cpp7445 bool OtherIsBooleanType = Other->isKnownToHaveBooleanValue(); in DiagnoseOutOfRangeComparison()
/external/clang/include/clang/AST/
DExpr.h479 bool isKnownToHaveBooleanValue() const;