[all-commits] [llvm/llvm-project] 42ee0d: [clangd][unittests][IncludeCleaner] Don't call fin...

Aleksandr Platonov via All-commits all-commits at lists.llvm.org
Fri Aug 12 11:01:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42ee0d8c16f7052c3bc8434325868f48a501baf2
      https://github.com/llvm/llvm-project/commit/42ee0d8c16f7052c3bc8434325868f48a501baf2
  Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp

  Log Message:
  -----------
  [clangd][unittests][IncludeCleaner] Don't call findReferencedFiles() if the result is not used

IncludeCleaner.RecursiveInclusion and IncludeCleaner.IWYUPragmaExport tests don't check referenced files list, so we don't need to call findReferencedFiles() there.

Reviewed By: kbobyrev

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




More information about the All-commits mailing list