From 4168efe1b2243ed31c30c82583a18bff78cfa076 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Wed, 8 Dec 2021 14:25:42 +0800 Subject: [NFC] Fix C++20 module test in PPC and warning --- clang/lib/Sema/SemaModule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Sema/SemaModule.cpp') 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; -- cgit v1.1