[include-cleaner] Record whether includes are spelled with <angle> quotes
authorSam McCall <sam.mccall@gmail.com>
Wed, 30 Nov 2022 16:00:31 +0000 (17:00 +0100)
committerSam McCall <sam.mccall@gmail.com>
Wed, 30 Nov 2022 17:13:10 +0000 (18:13 +0100)
commit9961fa1653a2e05cb729252a6c430558446868b6
treef93b9428aa36141312b8b0d8c86d8c52dffcf862
parentd8a27ac0e27f9dd8b5542e7af1c320cf9727af19
[include-cleaner] Record whether includes are spelled with <angle> quotes

This is needed to accurately remove headers with tooling::IncludeHeaders in the
rare cases where <foo> and "foo" resolve to something different.

This is also nice to have in HTML report and command-line -print=changes output.

Differential Revision: https://reviews.llvm.org/D139018
clang-tools-extra/include-cleaner/include/clang-include-cleaner/Types.h
clang-tools-extra/include-cleaner/lib/HTMLReport.cpp
clang-tools-extra/include-cleaner/lib/Record.cpp
clang-tools-extra/include-cleaner/lib/Types.cpp
clang-tools-extra/include-cleaner/unittests/RecordTest.cpp