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 @@ -2378,12 +2378,12 @@ Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport(
2378
2378
2379
2379
// Load the module to import its macros. We'll make the declarations
2380
2380
// visible when the parser gets here.
2381
- // FIXME: Pass SM in here rather than converting it to a path and making the
2382
- // module loader convert it back again.
2381
+ // FIXME: Pass ModuleToImport in here rather than converting it to a path
2382
+ // and making the module loader convert it back again.
2383
2383
ModuleLoadResult Imported = TheModuleLoader.loadModule (
2384
2384
IncludeTok.getLocation (), Path, Module::Hidden,
2385
2385
/* IsInclusionDirective=*/ true );
2386
- assert ((Imported == nullptr || Imported == SM ) &&
2386
+ assert ((Imported == nullptr || Imported == ModuleToImport ) &&
2387
2387
" the imported module is different than the suggested one" );
2388
2388
2389
2389
if (Imported) {
@@ -2599,7 +2599,7 @@ Preprocessor::ImportAction Preprocessor::HandleHeaderIncludeOrImport(
2599
2599
2600
2600
case Import: {
2601
2601
// If this is a module import, make it visible if needed.
2602
- assert (SM && " no module to import" );
2602
+ assert (ModuleToImport && " no module to import" );
2603
2603
2604
2604
makeModuleVisible (ModuleToImport, EndLoc);
2605
2605
You can’t perform that action at this time.
0 commit comments