[all-commits] [llvm/llvm-project] 49c513: [clang][modules] Allow not forcing validation of u...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri May 9 08:33:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49c513844db2e1513827a7c5b3c08acf87cfbd2b
      https://github.com/llvm/llvm-project/commit/49c513844db2e1513827a7c5b3c08acf87cfbd2b
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Lex/HeaderSearchOptions.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    M clang/test/Modules/fmodules-validate-once-per-build-session.c

  Log Message:
  -----------
  [clang][modules] Allow not forcing validation of user headers (#139091)

Force-validation of user headers was implemented in acb803e8 to deal
with files changing during build. The dependency scanner guarantees an
immutable file system during single build session, so the validation is
unnecessary. (We don't hit the disk too often due to the caching VFS,
but even avoiding going to the cache and deserializing the input files
makes sense.)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list