llvm::LLLexer::setIgnoreColonInIdentifiers

Control whether a trailing ':' is part of an identifier or a label.

Synopsis

Declared in <llvm/AsmParser/LLLexer.h>

void
setIgnoreColonInIdentifiers(bool val);

Description

When val is false (the default), an identifier ending in ':' is a label token. When true, the ':' is treated as a separate token.

Parameters

NameDescription
valWhether to ignore colon characters in identifiers.