enum StringLiteral::StringKind
Description
StringLiteral is followed by several trailing objects. They are in order: * A single unsigned storing the length in characters of this string. The length in bytes is this length times the width of a single character. Always present and stored as a trailing objects because storing it in StringLiteral would increase the size of StringLiteral by sizeof(void *) due to alignment requirements. If you add some data to StringLiteral, consider moving it inside StringLiteral. * An array of getNumConcatenated() SourceLocation, one for each of the token this string is made of. * An array of getByteLength() char used to store the string data.
Declared at: clang/include/clang/AST/Expr.h:1789
Enumerators
Name | Value | Comment |
---|---|---|
Ordinary | 0 | |
Wide | 1 | |
UTF8 | 2 | |
UTF16 | 3 | |
UTF32 | 4 |