aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2022-04-28 08:39:47 +0000
committerIlya Biryukov <ibiryukov@google.com>2022-04-28 09:33:26 +0000
commit2b833d4086aba3c0fca480549309af54bfdd8e2e (patch)
treefa699b5b86d1f7868109d9c1128891de63fe4a58 /llvm/lib/Object/ELFObjectFile.cpp
parentbe656df18721dc55a1de2eea64a3f73b6afa29a2 (diff)
downloadllvm-2b833d4086aba3c0fca480549309af54bfdd8e2e.zip
llvm-2b833d4086aba3c0fca480549309af54bfdd8e2e.tar.gz
llvm-2b833d4086aba3c0fca480549309af54bfdd8e2e.tar.bz2
[AST] Improve traversal of concepts and concept requirements
- Do not traverse concept decl inside `AutoType`. We only traverse declaration and definitions, not references to a declaration. - Do not visit implicit AST node the relevant traversal mode. - Add traversal extension points for concept requirements. - Renamed `TraverseConceptReference` to mark as helper to share the code. Having an extension point there seems confusing given that there are many concept refences in the AST that do not call the helper. Those are `AutoType`, `AutoTypeLoc` and constraint requirements. Only clangd code requires an update. There are no use-cases for concept requirement traversals yet, but I added them in the earlier version of the patch and decided to keep them for completeness. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D124532
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions