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.
2 parents 904b0a7 + d0f8141 commit 92b59d7Copy full SHA for 92b59d7
lib/IDE/ModuleInterfacePrinting.cpp
@@ -625,9 +625,7 @@ void swift::ide::printModuleInterface(
625
return true;
626
if (ImportedMod == TargetClangMod)
627
return false;
628
- // FIXME: const-ness on the clang API.
629
- return ImportedMod->isSubModuleOf(
630
- const_cast<clang::Module*>(TargetClangMod));
+ return ImportedMod->isSubModuleOf(TargetClangMod);
631
};
632
633
if (auto ID = dyn_cast<ImportDecl>(D)) {
0 commit comments