diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2022-08-29 10:34:01 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2022-11-08 16:29:31 +0100 |
commit | d19ba74dee0b9ab553bd8a6ef5b67ff349f4bf13 (patch) | |
tree | b87adf76d1a1bb2deb998fc67eb52e8a86bb99de /llvm/lib/Transforms/Utils/Local.cpp | |
parent | aa37342b3b548a75a4d8ce330f58a361a9ce22f4 (diff) | |
download | llvm-d19ba74dee0b9ab553bd8a6ef5b67ff349f4bf13.zip llvm-d19ba74dee0b9ab553bd8a6ef5b67ff349f4bf13.tar.gz llvm-d19ba74dee0b9ab553bd8a6ef5b67ff349f4bf13.tar.bz2 |
[Includecleaner] Introduce RefType to ast walking
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.
- Ambigious, 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).
Differential Revision: https://reviews.llvm.org/D135859
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions