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