clang API Documentation
#include <Expr.h>
UnaryExprOrTypeTraitExpr - expression with either a type or (unevaluated) expression operand. Used for sizeof/alignof (C99 6.5.3.4) and vec_step (OpenCL 1.1 6.11.12).
clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTrait | ExprKind, |
TypeSourceInfo * | TInfo, | ||
QualType | resultType, | ||
SourceLocation | op, | ||
SourceLocation | rp | ||
) | [inline] |
Definition at line 1976 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr | ( | UnaryExprOrTypeTrait | ExprKind, |
Expr * | E, | ||
QualType | resultType, | ||
SourceLocation | op, | ||
SourceLocation | rp | ||
) | [inline] |
Definition at line 1991 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Reimplemented from clang::Stmt.
Definition at line 4062 of file Expr.cpp.
References getArgumentType(), and isArgumentType().
static bool clang::UnaryExprOrTypeTraitExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 2055 of file Expr.h.
References clang::Stmt::getStmtClass().
Expr* clang::UnaryExprOrTypeTraitExpr::getArgumentExpr | ( | ) | [inline] |
Definition at line 2023 of file Expr.h.
References isArgumentType().
Referenced by getArgumentExpr(), getTypeOfArgument(), and clang::ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr().
const Expr* clang::UnaryExprOrTypeTraitExpr::getArgumentExpr | ( | ) | const [inline] |
Definition at line 2027 of file Expr.h.
References getArgumentExpr().
QualType clang::UnaryExprOrTypeTraitExpr::getArgumentType | ( | ) | const [inline] |
Definition at line 2016 of file Expr.h.
References getArgumentTypeInfo(), and clang::TypeSourceInfo::getType().
Referenced by children(), and getTypeOfArgument().
TypeSourceInfo* clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo | ( | ) | const [inline] |
Definition at line 2019 of file Expr.h.
References isArgumentType().
Referenced by getArgumentType(), and clang::ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr().
UnaryExprOrTypeTrait clang::UnaryExprOrTypeTraitExpr::getKind | ( | ) | const [inline] |
Definition at line 2010 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
Referenced by CheckICE(), clang::ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr(), and clang::ento::ExprEngine::VisitUnaryExprOrTypeTraitExpr().
SourceLocation clang::UnaryExprOrTypeTraitExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::UnaryExprOrTypeTraitExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::UnaryExprOrTypeTraitExpr::getOperatorLoc | ( | ) | const [inline] |
Definition at line 2046 of file Expr.h.
Referenced by clang::ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr().
SourceLocation clang::UnaryExprOrTypeTraitExpr::getRParenLoc | ( | ) | const [inline] |
Definition at line 2049 of file Expr.h.
Referenced by clang::ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr().
QualType clang::UnaryExprOrTypeTraitExpr::getTypeOfArgument | ( | ) | const [inline] |
Gets the argument type, or the type of the argument expression, whichever is appropriate.
Definition at line 2042 of file Expr.h.
References getArgumentExpr(), getArgumentType(), clang::Expr::getType(), and isArgumentType().
Referenced by CheckICE(), and clang::ento::ExprEngine::VisitUnaryExprOrTypeTraitExpr().
bool clang::UnaryExprOrTypeTraitExpr::isArgumentType | ( | ) | const [inline] |
Definition at line 2015 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
Referenced by children(), getArgumentExpr(), getArgumentTypeInfo(), getTypeOfArgument(), and clang::ASTNodeImporter::VisitUnaryExprOrTypeTraitExpr().
void clang::UnaryExprOrTypeTraitExpr::setArgument | ( | Expr * | E | ) | [inline] |
Definition at line 2031 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
void clang::UnaryExprOrTypeTraitExpr::setArgument | ( | TypeSourceInfo * | TInfo | ) | [inline] |
Definition at line 2035 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
void clang::UnaryExprOrTypeTraitExpr::setKind | ( | UnaryExprOrTypeTrait | K | ) | [inline] |
Definition at line 2013 of file Expr.h.
References clang::Stmt::UnaryExprOrTypeTraitExprBits.
void clang::UnaryExprOrTypeTraitExpr::setOperatorLoc | ( | SourceLocation | L | ) | [inline] |
void clang::UnaryExprOrTypeTraitExpr::setRParenLoc | ( | SourceLocation | L | ) | [inline] |