mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Suppress warnings, NFC
Swift SVN r32662
This commit is contained in:
@@ -721,8 +721,6 @@ static bool omitNeedlessWordsMatchingFirstArgumentLabel(
|
||||
|
||||
/// Determine whether the given word indicates a boolean result.
|
||||
static bool nameIndicatesBooleanResult(StringRef name) {
|
||||
bool isFirstWord = true;
|
||||
|
||||
for (auto word: camel_case::getWords(name)) {
|
||||
// Auxiliary verbs indicate Boolean results.
|
||||
if (getPartOfSpeech(word) == PartOfSpeech::AuxiliaryVerb)
|
||||
|
||||
Reference in New Issue
Block a user