clang API Documentation
#include <ExprObjC.h>
Public Member Functions | |
ObjCEncodeExpr (QualType T, TypeSourceInfo *EncodedType, SourceLocation at, SourceLocation rp) | |
ObjCEncodeExpr (EmptyShell Empty) | |
SourceLocation | getAtLoc () const |
void | setAtLoc (SourceLocation L) |
SourceLocation | getRParenLoc () const |
void | setRParenLoc (SourceLocation L) |
QualType | getEncodedType () const |
TypeSourceInfo * | getEncodedTypeSourceInfo () const |
void | setEncodedTypeSourceInfo (TypeSourceInfo *EncType) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
ObjCEncodeExpr, used for @encode in Objective-C. @encode has the same type and behavior as StringLiteral except that the string initializer is obtained from ASTContext with the encoding type as an argument.
Definition at line 347 of file ExprObjC.h.
clang::ObjCEncodeExpr::ObjCEncodeExpr | ( | QualType | T, |
TypeSourceInfo * | EncodedType, | ||
SourceLocation | at, | ||
SourceLocation | rp | ||
) | [inline] |
Definition at line 351 of file ExprObjC.h.
clang::ObjCEncodeExpr::ObjCEncodeExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 360 of file ExprObjC.h.
child_range clang::ObjCEncodeExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 383 of file ExprObjC.h.
static bool clang::ObjCEncodeExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 378 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::ObjCEncodeExpr::getAtLoc | ( | ) | const [inline] |
Definition at line 363 of file ExprObjC.h.
QualType clang::ObjCEncodeExpr::getEncodedType | ( | ) | const [inline] |
Definition at line 368 of file ExprObjC.h.
References clang::TypeSourceInfo::getType().
Referenced by clang::CodeGen::CodeGenModule::GetAddrOfConstantStringFromObjCEncode().
TypeSourceInfo* clang::ObjCEncodeExpr::getEncodedTypeSourceInfo | ( | ) | const [inline] |
Definition at line 370 of file ExprObjC.h.
SourceLocation clang::ObjCEncodeExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 376 of file ExprObjC.h.
SourceLocation clang::ObjCEncodeExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 375 of file ExprObjC.h.
SourceLocation clang::ObjCEncodeExpr::getRParenLoc | ( | ) | const [inline] |
Definition at line 365 of file ExprObjC.h.
void clang::ObjCEncodeExpr::setAtLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 364 of file ExprObjC.h.
void clang::ObjCEncodeExpr::setEncodedTypeSourceInfo | ( | TypeSourceInfo * | EncType | ) | [inline] |
Definition at line 371 of file ExprObjC.h.
void clang::ObjCEncodeExpr::setRParenLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 366 of file ExprObjC.h.