[all-commits] [llvm/llvm-project] bdf0b7: [clangd] IncludeCleaner: Add filtering mechanism

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Tue Apr 19 05:56:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdf0b757d5938a9f774d17e81be226da3229d3e5
      https://github.com/llvm/llvm-project/commit/bdf0b757d5938a9f774d17e81be226da3229d3e5
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M clang-tools-extra/clangd/Config.h
    M clang-tools-extra/clangd/ConfigCompile.cpp
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] IncludeCleaner: Add filtering mechanism

This introduces filtering out inclusions based on the resolved path. This
mechanism will be important for disabling warnings for headers that we can not
diagnose correctly yet.

Reviewed By: sammccall

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




More information about the All-commits mailing list