class CharLiteralParser
Declaration
class CharLiteralParser { /* full declaration omitted */ };
Description
CharLiteralParser - Perform interpretation and semantic analysis of a character literal.
Declared at: clang/include/clang/Lex/LiteralSupport.h:188
Member Variables
- private uint64_t Value
- private tok::TokenKind Kind
- private bool IsMultiChar
- private bool HadError
- private SmallString<32> UDSuffixBuf
- private unsigned int UDSuffixOffset
Method Overview
- public CharLiteralParser(const char * begin, const char * end, clang::SourceLocation Loc, clang::Preprocessor & PP, tok::TokenKind kind)
- public llvm::StringRef getUDSuffix() const
- public unsigned int getUDSuffixOffset() const
- public uint64_t getValue() const
- public bool hadError() const
- public bool isMultiChar() const
- public bool isOrdinary() const
- public bool isUTF16() const
- public bool isUTF32() const
- public bool isUTF8() const
- public bool isWide() const
Methods
¶CharLiteralParser(const char* begin,
const char* end,
clang::SourceLocation Loc,
clang::Preprocessor& PP,
tok::TokenKind kind)
CharLiteralParser(const char* begin,
const char* end,
clang::SourceLocation Loc,
clang::Preprocessor& PP,
tok::TokenKind kind)
Declared at: clang/include/clang/Lex/LiteralSupport.h:196
Parameters
- const char* begin
- const char* end
- clang::SourceLocation Loc
- clang::Preprocessor& PP
- tok::TokenKind kind
¶llvm::StringRef getUDSuffix() const
llvm::StringRef getUDSuffix() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:208
¶unsigned int getUDSuffixOffset() const
unsigned int getUDSuffixOffset() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:209
¶uint64_t getValue() const
uint64_t getValue() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:207
¶bool hadError() const
bool hadError() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:200
¶bool isMultiChar() const
bool isMultiChar() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:206
¶bool isOrdinary() const
bool isOrdinary() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:201
¶bool isUTF16() const
bool isUTF16() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:204
¶bool isUTF32() const
bool isUTF32() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:205
¶bool isUTF8() const
bool isUTF8() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:203
¶bool isWide() const
bool isWide() const
Declared at: clang/include/clang/Lex/LiteralSupport.h:202