[all-commits] [llvm/llvm-project] 7aee39: [clang][modules] Don't prune the top level module ...

Michael Spencer via All-commits all-commits at lists.llvm.org
Wed Apr 15 10:20:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aee3933330033040ffc3edc75d752f6431c8dd7
      https://github.com/llvm/llvm-project/commit/7aee3933330033040ffc3edc75d752f6431c8dd7
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M clang/include/clang/Serialization/ModuleCache.h
    M clang/lib/Serialization/ModuleCache.cpp
    A clang/test/Modules/prune-no-toplevel.m
    M clang/tools/libclang/BuildSystem.cpp

  Log Message:
  -----------
  [clang][modules] Don't prune the top level module cache for implicitly built modules (#192171)

There are build systems that put explicitly built modules in the same
module cache directory as implicitly built modules. Pruning those in an
implicit build can cause the build to fail due to missing modules.

rdar://174790709



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