[all-commits] [llvm/llvm-project] 9ab082: [include-cleaner] Add a data-structure to capture ...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Mon Oct 31 07:21:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ab0827f70a524aa9f94995662d37675cd042f30
https://github.com/llvm/llvm-project/commit/9ab0827f70a524aa9f94995662d37675cd042f30
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M clang-tools-extra/include-cleaner/include/clang-include-cleaner/Record.h
M clang-tools-extra/include-cleaner/lib/Record.cpp
M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp
Log Message:
-----------
[include-cleaner] Add a data-structure to capture IWYU pragmas.
PragmaIncludes captures the pragma-based header-mapping information, it is used
in the "Location => Header" step to determine the final spelling header for a
symbol (rather than the header directive).
The structure is by design to be used inside the include-cleaner library
and clangd.
Differential Revision: https://reviews.llvm.org/D136071
More information about the All-commits
mailing list