mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Simplify some code. NFC
This commit is contained in:
@@ -275,8 +275,7 @@ struct SynthesizedExtensionAnalyzer::Implementation {
|
||||
Unhandled.pop_back();
|
||||
for (ExtensionDecl *E : Back->getExtensions()) {
|
||||
if(E->isConstrainedExtension()) {
|
||||
auto Info = isApplicable(E);
|
||||
if (Info.isValid())
|
||||
if (auto Info = isApplicable(E))
|
||||
(*pMap)[E] = Info;
|
||||
}
|
||||
for (auto TL : Back->getInherited()) {
|
||||
|
||||
Reference in New Issue
Block a user