[all-commits] [llvm/llvm-project] 40f361: [clangd] Include Cleaner: ignore headers with IWYU...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Mon May 16 01:14:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40f361ace3e9a9c24bd99300216aeabd49ad99bb
      https://github.com/llvm/llvm-project/commit/40f361ace3e9a9c24bd99300216aeabd49ad99bb
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

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

  Log Message:
  -----------
  [clangd] Include Cleaner: ignore headers with IWYU export pragmas

Disable the warnings with `IWYU pragma: export` or `begin_exports` +
`end_exports` until we have support for these pragmas. There are too many
false-positive warnings for the headers that have the correct pragmas for now
and it makes the user experience very unpleasant.

Reviewed By: sammccall

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




More information about the All-commits mailing list