reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Expr.h
  497   bool isKnownToHaveBooleanValue() const;

References

tools/clang/lib/AST/Expr.cpp
  145       return UO->getSubExpr()->isKnownToHaveBooleanValue();
  156     return CE->getSubExpr()->isKnownToHaveBooleanValue();
  175       return BO->getLHS()->isKnownToHaveBooleanValue() &&
  176              BO->getRHS()->isKnownToHaveBooleanValue();
  180       return BO->getRHS()->isKnownToHaveBooleanValue();
  185     return CO->getTrueExpr()->isKnownToHaveBooleanValue() &&
  186            CO->getFalseExpr()->isKnownToHaveBooleanValue();
  192     return OVE->getSourceExpr()->isKnownToHaveBooleanValue();
tools/clang/lib/Analysis/CFG.cpp
  934     if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue())
  998     } else if (BoolExpr->isKnownToHaveBooleanValue()) {
tools/clang/lib/Sema/SemaChecking.cpp
 8313       E->isKnownToHaveBooleanValue()) {
10696       !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue();
10747   if (!InRange || Other->isKnownToHaveBooleanValue()) {
11845       !E->isKnownToHaveBooleanValue()) {
12051         UO->getSubExpr()->isKnownToHaveBooleanValue())
tools/clang/lib/Sema/SemaExpr.cpp
10262   if (RHS.get()->isKnownToHaveBooleanValue()) return;
10266   if (SubExpr->isKnownToHaveBooleanValue()) return;
tools/clang/lib/Sema/SemaStmt.cpp
  738     if (CondExpr->isKnownToHaveBooleanValue()) {