clang API Documentation
ObjCIvarRefExpr - A reference to an ObjC instance variable. More...
#include <ExprObjC.h>
Public Member Functions | |
ObjCIvarRefExpr (ObjCIvarDecl *d, QualType t, SourceLocation l, SourceLocation oploc, Expr *base, bool arrow=false, bool freeIvar=false) | |
ObjCIvarRefExpr (EmptyShell Empty) | |
ObjCIvarDecl * | getDecl () |
const ObjCIvarDecl * | getDecl () const |
void | setDecl (ObjCIvarDecl *d) |
const Expr * | getBase () const |
Expr * | getBase () |
void | setBase (Expr *base) |
bool | isArrow () const |
bool | isFreeIvar () const |
void | setIsArrow (bool A) |
void | setIsFreeIvar (bool A) |
SourceLocation | getLocation () const |
void | setLocation (SourceLocation L) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
SourceLocation | getOpLoc () const |
void | setOpLoc (SourceLocation L) |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
ObjCIvarRefExpr - A reference to an ObjC instance variable.
Definition at line 465 of file ExprObjC.h.
clang::ObjCIvarRefExpr::ObjCIvarRefExpr | ( | ObjCIvarDecl * | d, |
QualType | t, | ||
SourceLocation | l, | ||
SourceLocation | oploc, | ||
Expr * | base, | ||
bool | arrow = false , |
||
bool | freeIvar = false |
||
) | [inline] |
Definition at line 476 of file ExprObjC.h.
clang::ObjCIvarRefExpr::ObjCIvarRefExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 488 of file ExprObjC.h.
child_range clang::ObjCIvarRefExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 520 of file ExprObjC.h.
static bool clang::ObjCIvarRefExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 515 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
const Expr* clang::ObjCIvarRefExpr::getBase | ( | ) | const [inline] |
Definition at line 495 of file ExprObjC.h.
Referenced by CheckIdentityFieldAssignment(), DiagnoseDirectIsaAccess(), clang::CodeGen::CodeGenFunction::EmitObjCIvarRefLValue(), getLocStart(), and clang::ento::ExprEngine::VisitLvalObjCIvarRefExpr().
Expr* clang::ObjCIvarRefExpr::getBase | ( | ) | [inline] |
Definition at line 496 of file ExprObjC.h.
ObjCIvarDecl* clang::ObjCIvarRefExpr::getDecl | ( | ) | [inline] |
Definition at line 491 of file ExprObjC.h.
Referenced by CheckIdentityFieldAssignment(), DiagnoseDirectIsaAccess(), clang::CodeGen::CodeGenFunction::EmitObjCIvarRefLValue(), and clang::ento::ExprEngine::VisitLvalObjCIvarRefExpr().
const ObjCIvarDecl* clang::ObjCIvarRefExpr::getDecl | ( | ) | const [inline] |
Definition at line 492 of file ExprObjC.h.
SourceLocation clang::ObjCIvarRefExpr::getLocation | ( | ) | const [inline] |
Definition at line 504 of file ExprObjC.h.
Referenced by DiagnoseDirectIsaAccess().
SourceLocation clang::ObjCIvarRefExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 510 of file ExprObjC.h.
Referenced by DiagnoseDirectIsaAccess().
SourceLocation clang::ObjCIvarRefExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 507 of file ExprObjC.h.
References getBase(), clang::Stmt::getLocStart(), and isFreeIvar().
Referenced by DiagnoseDirectIsaAccess().
SourceLocation clang::ObjCIvarRefExpr::getOpLoc | ( | ) | const [inline] |
Definition at line 512 of file ExprObjC.h.
Referenced by DiagnoseDirectIsaAccess().
bool clang::ObjCIvarRefExpr::isArrow | ( | ) | const [inline] |
Definition at line 499 of file ExprObjC.h.
Referenced by DiagnoseDirectIsaAccess(), and clang::CodeGen::CodeGenFunction::EmitObjCIvarRefLValue().
bool clang::ObjCIvarRefExpr::isFreeIvar | ( | ) | const [inline] |
Definition at line 500 of file ExprObjC.h.
Referenced by getLocStart().
void clang::ObjCIvarRefExpr::setBase | ( | Expr * | base | ) | [inline] |
Definition at line 497 of file ExprObjC.h.
void clang::ObjCIvarRefExpr::setDecl | ( | ObjCIvarDecl * | d | ) | [inline] |
Definition at line 493 of file ExprObjC.h.
void clang::ObjCIvarRefExpr::setIsArrow | ( | bool | A | ) | [inline] |
Definition at line 501 of file ExprObjC.h.
void clang::ObjCIvarRefExpr::setIsFreeIvar | ( | bool | A | ) | [inline] |
Definition at line 502 of file ExprObjC.h.
void clang::ObjCIvarRefExpr::setLocation | ( | SourceLocation | L | ) | [inline] |
Definition at line 505 of file ExprObjC.h.
void clang::ObjCIvarRefExpr::setOpLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 513 of file ExprObjC.h.