clang API Documentation
#include <Expr.h>


Public Member Functions | |
| Expr * | getCond () const |
| Expr * | getTrueExpr () const |
| Expr * | getFalseExpr () const |
| SourceLocation | getQuestionLoc () const |
| SourceLocation | getColonLoc () const |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
Protected Member Functions | |
| AbstractConditionalOperator (StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK, bool TD, bool VD, bool ID, bool ContainsUnexpandedParameterPack, SourceLocation qloc, SourceLocation cloc) | |
| AbstractConditionalOperator (StmtClass SC, EmptyShell Empty) | |
Friends | |
| class | ASTStmtReader |
AbstractConditionalOperator - An abstract base class for ConditionalOperator and BinaryConditionalOperator.
| clang::AbstractConditionalOperator::AbstractConditionalOperator | ( | StmtClass | SC, |
| QualType | T, | ||
| ExprValueKind | VK, | ||
| ExprObjectKind | OK, | ||
| bool | TD, | ||
| bool | VD, | ||
| bool | ID, | ||
| bool | ContainsUnexpandedParameterPack, | ||
| SourceLocation | qloc, | ||
| SourceLocation | cloc | ||
| ) | [inline, protected] |
| clang::AbstractConditionalOperator::AbstractConditionalOperator | ( | StmtClass | SC, |
| EmptyShell | Empty | ||
| ) | [inline, protected] |
| static bool clang::AbstractConditionalOperator::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Reimplemented in clang::BinaryConditionalOperator, and clang::ConditionalOperator.
Definition at line 3179 of file Expr.h.
References clang::Stmt::getStmtClass().
| SourceLocation clang::AbstractConditionalOperator::getColonLoc | ( | ) | const [inline] |
Definition at line 3177 of file Expr.h.
Referenced by clang::ento::PathDiagnosticLocation::createConditionalColonLoc().
| Expr * clang::AbstractConditionalOperator::getCond | ( | ) | const [inline] |
Reimplemented in clang::BinaryConditionalOperator, and clang::ConditionalOperator.
Definition at line 3337 of file Expr.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitConditionalOperatorLValue().
| Expr * clang::AbstractConditionalOperator::getFalseExpr | ( | ) | const [inline] |
Reimplemented in clang::BinaryConditionalOperator, and clang::ConditionalOperator.
Definition at line 3349 of file Expr.h.
Referenced by checkFormatStringExpr(), clang::CodeGen::CodeGenFunction::EmitConditionalOperatorLValue(), and clang::ento::ExprEngine::Visit().
| SourceLocation clang::AbstractConditionalOperator::getQuestionLoc | ( | ) | const [inline] |
Definition at line 3176 of file Expr.h.
Referenced by GetUnreachableLoc().
| Expr * clang::AbstractConditionalOperator::getTrueExpr | ( | ) | const [inline] |
Reimplemented in clang::BinaryConditionalOperator, and clang::ConditionalOperator.
Definition at line 3343 of file Expr.h.
Referenced by checkFormatStringExpr(), clang::CodeGen::CodeGenFunction::EmitConditionalOperatorLValue(), and clang::ento::ExprEngine::Visit().
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.
Reimplemented in clang::BinaryConditionalOperator, and clang::ConditionalOperator.