Get the string for the current token, this includes all characters (for example, the quotes on strings) in the token.

Synopsis

Declared in <llvm/MC/MCAsmMacro.h>

StringRef
getString() const;

Description

The returned StringRef points into the source manager's memory buffer, and is safe to store across calls to Lex().

Return Value

The full token spelling in the source buffer.

Created with MrDocs