[all-commits] [llvm/llvm-project] 4ef77d: [include-cleaner] Attach Header to AnalysisResults...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Sun Sep 29 19:57:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4ef77d61b2ee3054344b50d5f4e3111ce69fffcf
https://github.com/llvm/llvm-project/commit/4ef77d61b2ee3054344b50d5f4e3111ce69fffcf
Author: kadir çetinkaya <kadircet at google.com>
Date: 2024-09-30 (Mon, 30 Sep 2024)
Changed paths:
M clang-tools-extra/include-cleaner/include/clang-include-cleaner/Analysis.h
M clang-tools-extra/include-cleaner/lib/Analysis.cpp
M clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
M clang-tools-extra/include-cleaner/unittests/AnalysisTest.cpp
Log Message:
-----------
[include-cleaner] Attach Header to AnalysisResults for misisng headers (#110272)
Currently callers of analyze can't get detailed information about a
missing header, e.g. resolve path. Only way to get at this is to use low
level walkUsed funciton, which is way more complicated than just calling
analyze.
This enables further analysis, e.g. when includes are spelled relative
to inner directories, caller can still know their path relative to
repository root.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list