================ @@ -67,7 +68,7 @@ static bool checkHeaderSearchPaths(const HeaderSearchOptions &HSOpts, if (LangOpts.Modules) { if (HSOpts.VFSOverlayFiles != ExistingHSOpts.VFSOverlayFiles) { if (Diags) { - Diags->Report(diag::err_pch_vfsoverlay_mismatch); + Diags->Report(diag::warn_pch_vfsoverlay_mismatch); ---------------- jansvoboda11 wrote:
Seems like this is applicable outside of the scanner. Should we move this into the generic PCH loading code? https://github.com/llvm/llvm-project/pull/82294 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits