[all-commits] [llvm/llvm-project] 81c373: [include-cleaner] Use expansion locations for macros.

VitaNuo via All-commits all-commits at lists.llvm.org
Mon Dec 19 06:19:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81c3739156fe2e98160fb4364ed78edacc293a68
      https://github.com/llvm/llvm-project/commit/81c3739156fe2e98160fb4364ed78edacc293a68
  Author: Viktoriia Bakalova <bakalova at google.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/FindHeaders.cpp
    M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp

  Log Message:
  -----------
  [include-cleaner] Use expansion locations for macros.

Use expansion locations for target symbol decls when finding headers for macros.
Fix: https://github.com/llvm/llvm-project/issues/59392
Differential Revision: https://reviews.llvm.org/D139716




More information about the All-commits mailing list