[all-commits] [llvm/llvm-project] 5f975b: [libclang] Add clang_ModuleCache_pruneWithCallback...

Michael Spencer via All-commits all-commits at lists.llvm.org
Wed Jun 3 15:33:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f975bb6afec710e4ef47c3b90a299b2212c6ec0
      https://github.com/llvm/llvm-project/commit/5f975bb6afec710e4ef47c3b90a299b2212c6ec0
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M clang/include/clang-c/BuildSystem.h
    M clang/include/clang/Serialization/ModuleCache.h
    M clang/lib/Serialization/ModuleCache.cpp
    M clang/tools/libclang/BuildSystem.cpp
    M clang/tools/libclang/libclang.map
    M clang/unittests/libclang/LibclangTest.cpp

  Log Message:
  -----------
  [libclang] Add clang_ModuleCache_pruneWithCallback (#199789)

clang_ModuleCache_pruneWithCallback takes a callback that is invoked for
each PCM that gets pruned. This is to support build systems that would
like to clean up additional data when PCMs are removed from disk.



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