clang API Documentation
#include <ExprObjC.h>
Public Member Functions | |
ObjCIsaExpr (Expr *base, bool isarrow, SourceLocation l, SourceLocation oploc, QualType ty) | |
ObjCIsaExpr (EmptyShell Empty) | |
Build an empty expression. | |
void | setBase (Expr *E) |
Expr * | getBase () const |
bool | isArrow () const |
void | setArrow (bool A) |
SourceLocation | getIsaMemberLoc () const |
void | setIsaMemberLoc (SourceLocation L) |
SourceLocation | getOpLoc () const |
void | setOpLoc (SourceLocation L) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getBaseLocEnd () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceLocation | getExprLoc () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
ObjCIsaExpr - Represent X->isa and X.isa when X is an ObjC 'id' type. (similar in spirit to MemberExpr).
Definition at line 1391 of file ExprObjC.h.
clang::ObjCIsaExpr::ObjCIsaExpr | ( | Expr * | base, |
bool | isarrow, | ||
SourceLocation | l, | ||
SourceLocation | oploc, | ||
QualType | ty | ||
) | [inline] |
Definition at line 1404 of file ExprObjC.h.
clang::ObjCIsaExpr::ObjCIsaExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Build an empty expression.
Definition at line 1413 of file ExprObjC.h.
child_range clang::ObjCIsaExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 1446 of file ExprObjC.h.
static bool clang::ObjCIsaExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 1441 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
Expr* clang::ObjCIsaExpr::getBase | ( | ) | const [inline] |
Definition at line 1416 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr(), getBaseLocEnd(), and getLocStart().
SourceLocation clang::ObjCIsaExpr::getBaseLocEnd | ( | ) | const [inline] |
Definition at line 1433 of file ExprObjC.h.
References getBase(), and clang::Stmt::getLocEnd().
SourceLocation clang::ObjCIsaExpr::getExprLoc | ( | ) | const [inline] |
getExprLoc - Return the preferred location for the arrow when diagnosing a problem with a generic expression.
Reimplemented from clang::Expr.
Definition at line 1439 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr().
SourceLocation clang::ObjCIsaExpr::getIsaMemberLoc | ( | ) | const [inline] |
getMemberLoc - Return the location of the "member", in X->F, it is the location of 'F'.
Definition at line 1423 of file ExprObjC.h.
SourceLocation clang::ObjCIsaExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 1437 of file ExprObjC.h.
SourceLocation clang::ObjCIsaExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 1429 of file ExprObjC.h.
References getBase(), and clang::Stmt::getLocStart().
SourceLocation clang::ObjCIsaExpr::getOpLoc | ( | ) | const [inline] |
Definition at line 1426 of file ExprObjC.h.
bool clang::ObjCIsaExpr::isArrow | ( | ) | const [inline] |
Definition at line 1418 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr().
void clang::ObjCIsaExpr::setArrow | ( | bool | A | ) | [inline] |
Definition at line 1419 of file ExprObjC.h.
void clang::ObjCIsaExpr::setBase | ( | Expr * | E | ) | [inline] |
Definition at line 1415 of file ExprObjC.h.
void clang::ObjCIsaExpr::setIsaMemberLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 1424 of file ExprObjC.h.
void clang::ObjCIsaExpr::setOpLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 1427 of file ExprObjC.h.