File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2306,12 +2306,12 @@ Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport(
2306
2306
2307
2307
// Load the module to import its macros. We'll make the declarations
2308
2308
// visible when the parser gets here.
2309
- // FIXME: Pass SM in here rather than converting it to a path and making the
2310
- // module loader convert it back again.
2309
+ // FIXME: Pass ModuleToImport in here rather than converting it to a path
2310
+ // and making the module loader convert it back again.
2311
2311
ModuleLoadResult Imported = TheModuleLoader.loadModule (
2312
2312
IncludeTok.getLocation (), Path, Module::Hidden,
2313
2313
/* IsInclusionDirective=*/ true );
2314
- assert ((Imported == nullptr || Imported == SM ) &&
2314
+ assert ((Imported == nullptr || Imported == ModuleToImport ) &&
2315
2315
" the imported module is different than the suggested one" );
2316
2316
2317
2317
if (Imported) {
@@ -2526,7 +2526,7 @@ Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport(
2526
2526
2527
2527
case Import: {
2528
2528
// If this is a module import, make it visible if needed.
2529
- assert (SM && " no module to import" );
2529
+ assert (ModuleToImport && " no module to import" );
2530
2530
2531
2531
makeModuleVisible (ModuleToImport, EndLoc);
2532
2532
You can’t perform that action at this time.
0 commit comments