[all-commits] [llvm/llvm-project] 22079c: [clangd] IncludeCleaner: Do not process locations ...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Wed Oct 27 10:32:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22079c61a82300a9ea89aeea58d5bf2780a296e0
      https://github.com/llvm/llvm-project/commit/22079c61a82300a9ea89aeea58d5bf2780a296e0
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp

  Log Message:
  -----------
  [clangd] IncludeCleaner: Do not process locations in built-in files

Doing otherwise leads to crashing. Way to reproduce: open "gmock/gmock.h" in
the LLVM source tree.

Reviewed By: kadircet

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




More information about the All-commits mailing list