Converts a string from camel-case to snake-case by replacing all uppercase letters with '_' followed by the letter in lowercase, except if the uppercase letter is the first character of the string.
Declared in <llvm/ADT/StringExtras.h>
std::string
convertToSnakeFromCamelCase(StringRef input);
| Name | Description |
|---|---|
| input | Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated. |