[all-commits] [llvm/llvm-project] 6b4e8f: [clangd] Use dirty filesystem when performing cros...

Nathan James via All-commits all-commits at lists.llvm.org
Tue Apr 20 09:14:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b4e8f82a3f85c6612997e5f9fce8da6f8cb4526
      https://github.com/llvm/llvm-project/commit/6b4e8f82a3f85c6612997e5f9fce8da6f8cb4526
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/refactor/Tweak.cpp
    M clang-tools-extra/clangd/refactor/Tweak.h
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/tool/Check.cpp
    M clang-tools-extra/clangd/unittests/FeatureModulesTests.cpp
    M clang-tools-extra/clangd/unittests/tweaks/TweakTesting.cpp

  Log Message:
  -----------
  [clangd] Use dirty filesystem when performing cross file tweaks

Cross file tweaks can now use the dirty buffer contents easily when performing cross file effects.
This can be noted on the DefineOutline tweak, now working when the target file is unsaved

Reviewed By: sammccall

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




More information about the All-commits mailing list