[all-commits] [llvm/llvm-project] 939dce: [clangd] Implement unused include warnings with in...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Jan 19 05:32:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 939dce12f9f35f7e0953a036c16e89d30011d047
https://github.com/llvm/llvm-project/commit/939dce12f9f35f7e0953a036c16e89d30011d047
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M clang-tools-extra/clangd/CMakeLists.txt
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/ParsedAST.h
M clang-tools-extra/clangd/Preamble.cpp
M clang-tools-extra/clangd/Preamble.h
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
Log Message:
-----------
[clangd] Implement unused include warnings with include-cleaner library.
A prototype of using include-cleaner library in clangd:
- (re)implement clangd's "unused include" warnings with the library
- the new implementation is hidden under a flag `Config::UnusedIncludesPolicy::Experiment`
Differential Revision: https://reviews.llvm.org/D140875
More information about the All-commits
mailing list