Update lib/Frontend/ModuleInterfaceLoader.cpp

Co-authored-by: Allan Shortlidge <tshortli@gmail.com>
This commit is contained in:
Artem Chikin
2023-02-28 13:24:04 -08:00
committed by GitHub
parent 3ea5087e2f
commit a828f14160

View File

@@ -1546,7 +1546,7 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
Feature::LayoutPrespecialization);
}
// Validate Clang modules once perbuild session flags must be consistent
// Validate Clang modules once per-build session flags must be consistent
// across all module sub-invocations
if (clangImporterOpts.ValidateModulesOnce) {
genericSubInvocation.getClangImporterOptions().ValidateModulesOnce = true;