[all-commits] [llvm/llvm-project] 8249dc: [include-cleaner] Record main-file macro occurence...

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Nov 8 06:20:55 PST 2022


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

  Changed paths:
    M clang-tools-extra/include-cleaner/include/clang-include-cleaner/Record.h
    M clang-tools-extra/include-cleaner/include/clang-include-cleaner/Types.h
    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 main-file macro occurences and includes

The occurrences are roots for finding used headers, like walkAST.
Includes are the targets we're matching used headers against.

Differential Revision: https://reviews.llvm.org/D136723




More information about the All-commits mailing list