diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2017-09-11 13:12:30 +0000 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2017-09-11 13:12:30 +0000 |
| commit | c6ea4deb6de2a5a28a02880b49da05f3d680cf5b (patch) | |
| tree | ce52faac4c088bfc05fe70ec2575052192e69a2f /llvm/lib/CodeGen/RegisterUsageInfo.cpp | |
| parent | d0ff65b50ea034ae3b08d695811e202d2d21fea3 (diff) | |
| download | bcm5719-llvm-c6ea4deb6de2a5a28a02880b49da05f3d680cf5b.tar.gz bcm5719-llvm-c6ea4deb6de2a5a28a02880b49da05f3d680cf5b.zip | |
[AST] Make RecursiveASTVisitor visit TemplateDecls in source order
Summary:
This causes template arguments to be traversed before the templated
declaration, which is useful for clients that expect the nodes in
the same order as they are in the source code. Additionally, there
seems to be no good reason not to do so.
This was moved here from LexicallyOrderedRecursiveASTVisitor. The tests
still reside in LexicallyOrderedRecursiveASTVisitorTest.cpp under
VisitTemplateDecls.
Reviewers: arphaman, rsmith, klimek
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D37662
llvm-svn: 312911
Diffstat (limited to 'llvm/lib/CodeGen/RegisterUsageInfo.cpp')
0 files changed, 0 insertions, 0 deletions

