mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y]
This commit is contained in:
@@ -1567,7 +1567,7 @@ static const Decl* getGroupDecl(const Decl *D) {
|
||||
}
|
||||
|
||||
Optional<StringRef> ModuleFile::getGroupNameById(unsigned Id) const {
|
||||
if(!GroupNamesMap || GroupNamesMap->count(Id) == 0)
|
||||
if (!GroupNamesMap || GroupNamesMap->count(Id) == 0)
|
||||
return None;
|
||||
auto Original = (*GroupNamesMap)[Id];
|
||||
if (Original.empty())
|
||||
@@ -1578,7 +1578,7 @@ Optional<StringRef> ModuleFile::getGroupNameById(unsigned Id) const {
|
||||
}
|
||||
|
||||
Optional<StringRef> ModuleFile::getSourceFileNameById(unsigned Id) const {
|
||||
if(!GroupNamesMap || GroupNamesMap->count(Id) == 0)
|
||||
if (!GroupNamesMap || GroupNamesMap->count(Id) == 0)
|
||||
return None;
|
||||
auto Original = (*GroupNamesMap)[Id];
|
||||
if (Original.empty())
|
||||
|
||||
Reference in New Issue
Block a user