[Tooling] Remove unused function setRestoreWorkingDir
authorKazu Hirata <kazu@google.com>
Wed, 31 May 2023 19:43:37 +0000 (12:43 -0700)
committerKazu Hirata <kazu@google.com>
Wed, 31 May 2023 19:43:37 +0000 (12:43 -0700)
commit5a0d53ce41486225fd8be6b1d13f338d19c29f62
tree3215f4ac9c5de1a4e8316ab47c3a618314c6dc06
parent43249378da67319906cf04f2c6cd38df141f3bf6
[Tooling] Remove unused function setRestoreWorkingDir

The last use was removed by:

  commit 146ec74a8382dc820809d0a2bf4b918d0b5e6603
  Author: Jan Svoboda <jan_svoboda@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
clang/include/clang/Tooling/Tooling.h
clang/lib/Tooling/Tooling.cpp