[PATCH] D76418: [Syntax] Build template declaration nodes

Marcel Hlopko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 19 02:07:39 PDT 2020


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

Rollforward of
https://reviews.llvm.org/rGdd12826808f9079e164b82e64b0697a077379241 after
temporarily adding -fno-delayed-template-parsing to the TreeTest.

Original summary:

> 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/D76418

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: D76418.251304.patch
Type: text/x-patch
Size: 21814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200319/00c9949d/attachment-0001.bin>


More information about the cfe-commits mailing list