[all-commits] [llvm/llvm-project] 967907: [clang][deps] NFC: Simplify worker loop

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Mar 2 13:50:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9679075a1ae6a20ed102597bf166b3f3adc95499
      https://github.com/llvm/llvm-project/commit/9679075a1ae6a20ed102597bf166b3f3adc95499
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang][deps] NFC: Simplify worker loop

This patch simplifies the loop inside each worker by extracting index retrieval into a lambda function.

Reviewed By: benlangmuir

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




More information about the All-commits mailing list