llvm::BaseRecord::getUpperCamelName

Return Name converted to UpperCamelCase by removing separators.

Synopsis

Declared in <llvm/TableGen/DirectiveEmitter.h>

static
std::string
getUpperCamelName(
    StringRef Name,
    StringRef Sep);

Description

Take a string Name with sub-words separated with characters from Sep, and return a string with each of the sub-words capitalized, and the separators removed, e.g. Name = "some_directive^name", Sep = "_^" -> "SomeDirectiveName".

Return Value

Name converted to UpperCamelCase with separators removed.

Parameters

NameDescription
NameInput name whose sub-words are separated by Sep.
SepCharacters treated as sub-word separators.