[all-commits] [llvm/llvm-project] 64fe04: [clangd] PreamblePatch should be no-op if includes...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Thu Sep 16 08:12:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64fe0458866d7bcadacb776a1fa7d827ba8ab916
      https://github.com/llvm/llvm-project/commit/64fe0458866d7bcadacb776a1fa7d827ba8ab916
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M clang-tools-extra/clangd/Preamble.cpp
    M clang-tools-extra/clangd/unittests/PreambleTests.cpp

  Log Message:
  -----------
  [clangd] PreamblePatch should be no-op if includes arent patched

Don't create a useless functional patch with only filename in it when
there is only include directives to be patched but they're not
requested.

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




More information about the All-commits mailing list