[all-commits] [llvm/llvm-project] 97e504: [clang][deps] NFC: Extract function

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Nov 26 05:01:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97e504cff956b7120da9bd932644b00a853ee68a
      https://github.com/llvm/llvm-project/commit/97e504cff956b7120da9bd932644b00a853ee68a
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
    M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp

  Log Message:
  -----------
  [clang][deps] NFC: Extract function

This commits extracts a couple of nested conditions into a separate function with early returns, making the control flow easier to understand.




More information about the All-commits mailing list