[all-commits] [llvm/llvm-project] b673bc: [clangd] Suppress IncludeCleaner warnings for head...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Wed Dec 8 09:08:01 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b673bc36eacd68c15262a222ce940f36f4be0cec
      https://github.com/llvm/llvm-project/commit/b673bc36eacd68c15262a222ce940f36f4be0cec
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

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

  Log Message:
  -----------
  [clangd] Suppress IncludeCleaner warnings for headers behind pragma keep

D114072 allows filtering out the warnings for headers behind `// IWYU pragma:
keep`. This is the first step towards more useful IWYU pragmas support and
fine-grained control over the IncludeCleaner warnings.

Reviewed By: kadircet

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




More information about the All-commits mailing list