clang API Documentation
#include <Expr.h>
Public Types | |
enum | CharacterKind { Ascii, Wide, UTF16, UTF32 } |
Public Member Functions | |
CharacterLiteral (unsigned value, CharacterKind kind, QualType type, SourceLocation l) | |
CharacterLiteral (EmptyShell Empty) | |
Construct an empty character literal. | |
SourceLocation | getLocation () const |
CharacterKind | getKind () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
unsigned | getValue () const |
void | setLocation (SourceLocation Location) |
void | setKind (CharacterKind kind) |
void | setValue (unsigned Val) |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
clang::CharacterLiteral::CharacterLiteral | ( | unsigned | value, |
CharacterKind | kind, | ||
QualType | type, | ||
SourceLocation | l | ||
) | [inline] |
Definition at line 1321 of file Expr.h.
References clang::Stmt::CharacterLiteralBits.
clang::CharacterLiteral::CharacterLiteral | ( | EmptyShell | Empty | ) | [inline] |
child_range clang::CharacterLiteral::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::CharacterLiteral::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 1346 of file Expr.h.
References clang::Stmt::getStmtClass().
CharacterKind clang::CharacterLiteral::getKind | ( | ) | const [inline] |
Definition at line 1333 of file Expr.h.
References clang::Stmt::CharacterLiteralBits.
Referenced by rewriteToCharLiteral(), and clang::ASTNodeImporter::VisitCharacterLiteral().
SourceLocation clang::CharacterLiteral::getLocation | ( | ) | const [inline] |
Definition at line 1332 of file Expr.h.
Referenced by clang::ASTNodeImporter::VisitCharacterLiteral().
SourceLocation clang::CharacterLiteral::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::CharacterLiteral::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
unsigned clang::CharacterLiteral::getValue | ( | ) | const [inline] |
Definition at line 1340 of file Expr.h.
Referenced by clang::ento::SValBuilder::getConstantVal(), isIdenticalStmt(), and clang::ASTNodeImporter::VisitCharacterLiteral().
void clang::CharacterLiteral::setKind | ( | CharacterKind | kind | ) | [inline] |
Definition at line 1343 of file Expr.h.
References clang::Stmt::CharacterLiteralBits.
void clang::CharacterLiteral::setLocation | ( | SourceLocation | Location | ) | [inline] |
void clang::CharacterLiteral::setValue | ( | unsigned | Val | ) | [inline] |