[all-commits] [llvm/llvm-project] be861b: [include-cleaner] Avoid a caching issue when runni...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Jul 18 04:22:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be861b64d94198230d8f9889b17280e3cd215a0a
      https://github.com/llvm/llvm-project/commit/be861b64d94198230d8f9889b17280e3cd215a0a
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp

  Log Message:
  -----------
  [include-cleaner] Avoid a caching issue when running --edit mode on multiple files.

Snapshot all analysing files before running the tool, this makes sure
that we analyse all files statelessly and avoid the FileManager caching issue
when running `-edit` on multiple files.

Differential Revision: https://reviews.llvm.org/D155195




More information about the All-commits mailing list