[PATCH] D76346: Build template declaration nodes

Marcel Hlopko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 02:41:32 PDT 2020


hlopko created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
hlopko added a reviewer: gribozavr2.

Copy of https://reviews.llvm.org/D72334, submitting with Ilya's permission.

Handles template declaration of all kinds.

Also builds template declaration nodes for specializations and explicit
instantiations of classes.

Some missing things will be addressed in the follow-up patches:

specializations of functions and variables,
template parameters.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76346

Files:
  clang/include/clang/Tooling/Syntax/Nodes.h
  clang/lib/Tooling/Syntax/BuildTree.cpp
  clang/lib/Tooling/Syntax/Nodes.cpp
  clang/unittests/Tooling/Syntax/TreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76346.251017.patch
Type: text/x-patch
Size: 21398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200318/e61db125/attachment-0001.bin>


More information about the cfe-commits mailing list