We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3e79b commit 7653cceCopy full SHA for 7653cce
lib/AST/ProtocolConformance.cpp
@@ -438,10 +438,8 @@ bool NormalProtocolConformance::isRetroactive() const {
438
// defined in a Clang module.
439
if (auto nominalLoadedModule =
440
dyn_cast<LoadedFile>(nominal->getModuleScopeContext())) {
441
- if (auto clangLoader = nominal->getASTContext().getClangModuleLoader()) {
442
- if (auto overlayModule = nominalLoadedModule->getAdapterModule())
443
- nominalModule = overlayModule;
444
- }
+ if (auto overlayModule = nominalLoadedModule->getAdapterModule())
+ nominalModule = overlayModule;
445
}
446
447
if (module == nominalModule)
0 commit comments