mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Import as member] Lower case initialisms
This commit is contained in:
@@ -262,6 +262,16 @@ namespace swift {
|
||||
StringRef toLowercaseInitialisms(StringRef string,
|
||||
StringScratchSpace &scratch);
|
||||
|
||||
/// Lowercase the first word within the given camelCase string.
|
||||
///
|
||||
/// \param string The string to lowercase.
|
||||
/// \param scratch Scratch buffer used to form the resulting string.
|
||||
///
|
||||
/// \returns the string with the first word lowercased, including
|
||||
/// initialisms.
|
||||
StringRef toLowercaseInitialisms(StringRef string,
|
||||
SmallVectorImpl<char> &scratch);
|
||||
|
||||
/// Sentence-case the given camelCase string by turning the first
|
||||
/// letter into an uppercase letter.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user