clang API Documentation
#include <ExprObjC.h>
Public Member Functions | |
ObjCStringLiteral (StringLiteral *SL, QualType T, SourceLocation L) | |
ObjCStringLiteral (EmptyShell Empty) | |
StringLiteral * | getString () |
const StringLiteral * | getString () const |
void | setString (StringLiteral *S) |
SourceLocation | getAtLoc () const |
void | setAtLoc (SourceLocation L) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
ObjCStringLiteral, used for Objective-C string literals i.e. "foo".
Definition at line 29 of file ExprObjC.h.
clang::ObjCStringLiteral::ObjCStringLiteral | ( | StringLiteral * | SL, |
QualType | T, | ||
SourceLocation | L | ||
) | [inline] |
Definition at line 33 of file ExprObjC.h.
clang::ObjCStringLiteral::ObjCStringLiteral | ( | EmptyShell | Empty | ) | [inline, explicit] |
Definition at line 37 of file ExprObjC.h.
child_range clang::ObjCStringLiteral::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 55 of file ExprObjC.h.
static bool clang::ObjCStringLiteral::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 50 of file ExprObjC.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::ObjCStringLiteral::getAtLoc | ( | ) | const [inline] |
Definition at line 44 of file ExprObjC.h.
SourceLocation clang::ObjCStringLiteral::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 48 of file ExprObjC.h.
References clang::Stmt::getLocEnd().
SourceLocation clang::ObjCStringLiteral::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 47 of file ExprObjC.h.
StringLiteral* clang::ObjCStringLiteral::getString | ( | ) | [inline] |
Definition at line 40 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCStringLiteral().
const StringLiteral* clang::ObjCStringLiteral::getString | ( | ) | const [inline] |
Definition at line 41 of file ExprObjC.h.
void clang::ObjCStringLiteral::setAtLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 45 of file ExprObjC.h.
void clang::ObjCStringLiteral::setString | ( | StringLiteral * | S | ) | [inline] |
Definition at line 42 of file ExprObjC.h.
References S.