llvm::BaseRecord::getSnakeName

Return Name with whitespace replaced by underscores.

Synopsis

Declared in <llvm/TableGen/DirectiveEmitter.h>

static
std::string
getSnakeName(StringRef Name);

Return Value

Name with whitespace replaced by underscores.

Parameters

NameDescription
NameSpelling or name to format for output identifiers.