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, 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) |
| SourceRange | getSourceRange () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const ObjCIvarRefExpr *) |
ObjCIvarRefExpr - A reference to an ObjC instance variable.
Definition at line 460 of file ExprObjC.h.
| clang::ObjCIvarRefExpr::ObjCIvarRefExpr | ( | ObjCIvarDecl * | d, |
| QualType | t, | ||
| SourceLocation | l, | ||
| Expr * | base, | ||
| bool | arrow = false, |
||
| bool | freeIvar = false |
||
| ) | [inline] |
Definition at line 468 of file ExprObjC.h.
| clang::ObjCIvarRefExpr::ObjCIvarRefExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 477 of file ExprObjC.h.
| child_range clang::ObjCIvarRefExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 507 of file ExprObjC.h.
| static bool clang::ObjCIvarRefExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 501 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
| static bool clang::ObjCIvarRefExpr::classof | ( | const ObjCIvarRefExpr * | ) | [inline, static] |
Definition at line 504 of file ExprObjC.h.
| const Expr* clang::ObjCIvarRefExpr::getBase | ( | ) | const [inline] |
Definition at line 484 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIvarRefLValue(), setObjCGCLValueClass(), and clang::ento::ExprEngine::VisitLvalObjCIvarRefExpr().
| Expr* clang::ObjCIvarRefExpr::getBase | ( | ) | [inline] |
Definition at line 485 of file ExprObjC.h.
| ObjCIvarDecl* clang::ObjCIvarRefExpr::getDecl | ( | ) | [inline] |
Definition at line 480 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIvarRefLValue(), and clang::ento::ExprEngine::VisitLvalObjCIvarRefExpr().
| const ObjCIvarDecl* clang::ObjCIvarRefExpr::getDecl | ( | ) | const [inline] |
Definition at line 481 of file ExprObjC.h.
| SourceLocation clang::ObjCIvarRefExpr::getLocation | ( | ) | const [inline] |
Definition at line 493 of file ExprObjC.h.
| SourceRange clang::ObjCIvarRefExpr::getSourceRange | ( | ) | const [inline] |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.
Reimplemented from clang::Stmt.
Definition at line 496 of file ExprObjC.h.
References clang::Stmt::getLocStart().
| bool clang::ObjCIvarRefExpr::isArrow | ( | ) | const [inline] |
Definition at line 488 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCIvarRefLValue().
| bool clang::ObjCIvarRefExpr::isFreeIvar | ( | ) | const [inline] |
Definition at line 489 of file ExprObjC.h.
| void clang::ObjCIvarRefExpr::setBase | ( | Expr * | base | ) | [inline] |
Definition at line 486 of file ExprObjC.h.
| void clang::ObjCIvarRefExpr::setDecl | ( | ObjCIvarDecl * | d | ) | [inline] |
Definition at line 482 of file ExprObjC.h.
| void clang::ObjCIvarRefExpr::setIsArrow | ( | bool | A | ) | [inline] |
Definition at line 490 of file ExprObjC.h.
| void clang::ObjCIvarRefExpr::setIsFreeIvar | ( | bool | A | ) | [inline] |
Definition at line 491 of file ExprObjC.h.
| void clang::ObjCIvarRefExpr::setLocation | ( | SourceLocation | L | ) | [inline] |
Definition at line 494 of file ExprObjC.h.