[all-commits] [llvm/llvm-project] 9961fa: [include-cleaner] Record whether includes are spel...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Nov 30 09:14:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9961fa1653a2e05cb729252a6c430558446868b6
      https://github.com/llvm/llvm-project/commit/9961fa1653a2e05cb729252a6c430558446868b6
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M clang-tools-extra/include-cleaner/include/clang-include-cleaner/Types.h
    M clang-tools-extra/include-cleaner/lib/HTMLReport.cpp
    M clang-tools-extra/include-cleaner/lib/Record.cpp
    M clang-tools-extra/include-cleaner/lib/Types.cpp
    M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list