[all-commits] [llvm/llvm-project] eecfc7: [clangd] Record IWYU pragma keep in the IncludeStr...
Kirill Bobyrev via All-commits
all-commits at lists.llvm.org
Wed Dec 8 06:56:12 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eecfc73ae4b909dbf26bd2d85b8c6580927df9fc
https://github.com/llvm/llvm-project/commit/eecfc73ae4b909dbf26bd2d85b8c6580927df9fc
Author: Kirill Bobyrev <kbobyrev at google.com>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/Headers.cpp
M clang-tools-extra/clangd/Headers.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/Preamble.cpp
M clang-tools-extra/clangd/unittests/HeadersTests.cpp
M clang-tools-extra/clangd/unittests/PreambleTests.cpp
Log Message:
-----------
[clangd] Record IWYU pragma keep in the IncludeStructure
This will allow the IncludeCleaner to suppress warnings on the lines with "IWYU
pragma: keep".
Clang APIs are not very convinient, so the code has to navigate around it.
Reviewed By: kadircet
Differential Revision: https://reviews.llvm.org/D114072
More information about the All-commits
mailing list