llvm::codeview::consume

Decode a null-terminated string.

Synopsis

Declared in <llvm/DebugInfo/CodeView/RecordSerialization.h>

Error
consume(
    BinaryStreamReader& Reader,
    StringRef& Item);

Return Value

Success, or an Error if the string cannot be read.

Parameters

NameDescription
ReaderStream positioned at the string.
ItemReceives the decoded string (without the terminator).