[all-commits] [llvm/llvm-project] f82f5b: [include-cleaner] Introduce symbol to location map...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Thu Dec 1 00:46:23 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f82f5b0507a25cbef1cf44fa5ef481c786a40473
https://github.com/llvm/llvm-project/commit/f82f5b0507a25cbef1cf44fa5ef481c786a40473
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M clang-tools-extra/include-cleaner/lib/AnalysisInternal.h
M clang-tools-extra/include-cleaner/lib/LocateSymbol.cpp
M clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
A clang-tools-extra/include-cleaner/unittests/LocateSymbolTest.cpp
Log Message:
-----------
[include-cleaner] Introduce symbol to location mapping
Creates a one to many mapping, by returning all the possible locations
providing a symbol. Also includes an "is definition" signal for the
location, that can be used for ranking afterwards.
This also takes care of stdlib symbols by having a variant of locations.
Depends on D135859.
Differential Revision: https://reviews.llvm.org/D135953
More information about the All-commits
mailing list