getStrData() are not null-terminated, and the lengths of these strings should
be determined using getByteLength().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41055
91177308-0d34-0410-b5e6-
96231b3b80d8
static bool classof(const FloatingLiteral *) { return true; }
};
+/// StringLiteral - This represents a string literal expression, e.g. "foo"
+/// or L"bar" (wide strings). The actual string is returned by getStrData()
+/// is NOT null-terminated, and the length of the string is determined by
+/// calling getByteLength().
class StringLiteral : public Expr {
const char *StrData;
unsigned ByteLength;