aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2022-04-12 15:51:16 +0200
committerHaojian Wu <hokein.wu@gmail.com>2022-04-14 11:04:55 +0200
commit6ba1b9075dc1fef6c32eafa71495bfec803321e4 (patch)
tree79a56fc0dd13988939ccfb1597757f09254d86e6 /flang/lib/Frontend/CompilerInvocation.cpp
parent49b39c4f2e4b0dfac3eff10cfed309a13a243c59 (diff)
downloadllvm-6ba1b9075dc1fef6c32eafa71495bfec803321e4.zip
llvm-6ba1b9075dc1fef6c32eafa71495bfec803321e4.tar.gz
llvm-6ba1b9075dc1fef6c32eafa71495bfec803321e4.tar.bz2
Reland "[AST] Add a new TemplateKind for template decls found via a using decl.""
This is the template version of https://reviews.llvm.org/D114251. This patch introduces a new template name kind (UsingTemplateName). The UsingTemplateName stores the found using-shadow decl (and underlying template can be retrieved from the using-shadow decl). With the new template name, we can be able to find the using decl that a template typeloc (e.g. TemplateSpecializationTypeLoc) found its underlying template, which is useful for tooling use cases (include cleaner etc). This patch merely focuses on adding the node to the AST. Next steps: - support using-decl in qualified template name; - update the clangd and other tools to use this new node; - add ast matchers for matching different kinds of template names; Differential Revision: https://reviews.llvm.org/D123127
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions