diff options
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
-rw-r--r-- | clang/lib/Sema/SemaModule.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaModule.cpp b/clang/lib/Sema/SemaModule.cpp index 34a6c6e..f497199 100644 --- a/clang/lib/Sema/SemaModule.cpp +++ b/clang/lib/Sema/SemaModule.cpp @@ -712,7 +712,8 @@ Module *Sema::PushGlobalModuleFragment(SourceLocation BeginLoc, // Enter the scope of the global module. ModuleScopes.push_back({BeginLoc, GlobalModule, /*ModuleInterface=*/false, - /*ImplicitGlobalModuleFragment=*/IsImplicit}); + /*ImplicitGlobalModuleFragment=*/IsImplicit, + /*VisibleModuleSet*/{}}); VisibleModules.setVisible(GlobalModule, BeginLoc); return GlobalModule; |