Convert a camel-case string to snake-case.
Declared in <llvm/ADT/StringExtras.h>
std::string
convertToSnakeFromCamelCase(StringRef input);
Replaces all uppercase letters with '_' followed by the letter in lowercase, except if the uppercase letter is the first character of the string.
The snake-case form of input.
| Name | Description |
|---|---|
| input | camel-case text to convert |