[PATCH] D135859: [Includecleaner] Introduce RefType to ast walking
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 13 01:44:30 PDT 2022
kadircet created this revision.
kadircet added a reviewer: hokein.
Herald added a subscriber: mgrang.
Herald added a project: All.
kadircet requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
RefTypes are distinct categories for each reference to a symbol. They
are signals indicating strength of a reference, that'll enable different
decision making based on the finding being provided.
There are 3 kinds of ref types:
- Explicit, the reference is spelled in the code.
- Implicit, the reference is not directly visible in the code.
- Related, the reference exists but can't be proven as used (e.g. overloads brought in by a using decl but not used by the code).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135859
Files:
clang-tools-extra/include-cleaner/lib/AnalysisInternal.h
clang-tools-extra/include-cleaner/lib/WalkAST.cpp
clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135859.467400.patch
Type: text/x-patch
Size: 14282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221013/1a47141e/attachment-0001.bin>
More information about the cfe-commits
mailing list