[clang] [clang] Forward `-fvalidate-ast-input-files-content` when loading an AST dump (PR #196298)
Arseniy Zaostrovnykh via cfe-commits
cfe-commits at lists.llvm.org
Mon May 11 04:48:02 PDT 2026
================
@@ -780,11 +780,16 @@ std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile(
DisableValidationForModuleKind::None;
if (::getenv("LIBCLANG_DISABLE_PCH_VALIDATION"))
disableValid = DisableValidationForModuleKind::All;
+ bool ValidateASTInputFilesContent = HSOpts.ValidateASTInputFilesContent;
----------------
necto wrote:
Makes sense
50654dcfef54 [NFC] Inline the option
https://github.com/llvm/llvm-project/pull/196298
More information about the cfe-commits
mailing list