[all-commits] [llvm/llvm-project] 5a0d53: [Tooling] Remove unused function setRestoreWorkingDir

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed May 31 12:43:55 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a0d53ce41486225fd8be6b1d13f338d19c29f62
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

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

  Log Message:
  [Tooling] Remove unused function setRestoreWorkingDir

The last use was removed by:

  commit 146ec74a8382dc820809d0a2bf4b918d0b5e6603
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   Fri Sep 10 10:24:16 2021 +0200

Once I remove the function, RestoreCWD is always true, so this patch
removes the variable and propagates the constant.

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

More information about the All-commits mailing list