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.
const_cast
1 parent a1a8dd7 commit d0f8141Copy full SHA for d0f8141
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