clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
clang::AbstractConditionalOperator Class Reference

#include <Expr.h>

Inheritance diagram for clang::AbstractConditionalOperator:
Inheritance graph
[legend]
Collaboration diagram for clang::AbstractConditionalOperator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ExprgetCond () const
ExprgetTrueExpr () const
ExprgetFalseExpr () 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

Detailed Description

AbstractConditionalOperator - An abstract base class for ConditionalOperator and BinaryConditionalOperator.

Definition at line 3145 of file Expr.h.


Constructor & Destructor Documentation

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]

Definition at line 3150 of file Expr.h.

Definition at line 3159 of file Expr.h.


Member Function Documentation

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().

Definition at line 3176 of file Expr.h.

Referenced by GetUnreachableLoc().


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Reimplemented in clang::BinaryConditionalOperator, and clang::ConditionalOperator.

Definition at line 3147 of file Expr.h.


The documentation for this class was generated from the following file: