summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-template-decls.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang] Make handling of unnamed template params similar to function paramsKadir Cetinkaya2019-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | Summary: Clang uses the location identifier should be inserted for declarator decls when a decl is unnamed. But for type template and template template paramaters it uses the location of "typename/class" keyword, which makes it hard for tooling to insert/change parameter names. This change tries to unify these two cases by making template parameter parsing and sourcerange operations similar to function params/declarator decls. Reviewers: ilya-biryukov Subscribers: arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68143 llvm-svn: 373340
* Adding tests for -ast-dump; NFC.Aaron Ballman2018-12-051-0/+102
This adds tests for various function and class template declarations. llvm-svn: 348399
OpenPOWER on IntegriCloud