Searched refs:isKnownToHaveBooleanValue (Results 1 – 6 of 6) sorted by relevance
112 bool Expr::isKnownToHaveBooleanValue() const { in isKnownToHaveBooleanValue() function in Expr123 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()
657 if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue()) in checkIncorrectRelationalOperator()721 } else if (BoolExpr->isKnownToHaveBooleanValue()) { in checkIncorrectEqualityOperator()
773 if (CondExpr->isKnownToHaveBooleanValue()) { in ActOnFinishSwitchStmt()
8996 if (RHS.get()->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison()9000 if (SubExpr->isKnownToHaveBooleanValue()) return; in diagnoseLogicalNotOnLHSofComparison()
7445 bool OtherIsBooleanType = Other->isKnownToHaveBooleanValue(); in DiagnoseOutOfRangeComparison()
479 bool isKnownToHaveBooleanValue() const;