]> granicus.if.org Git - clang/commit
Traversing template paramter lists of DeclaratorDecls and/or TagDecls.
authorNico Weber <nicolasweber@gmx.de>
Tue, 13 Sep 2016 15:05:04 +0000 (15:05 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 13 Sep 2016 15:05:04 +0000 (15:05 +0000)
commit9ff97bac0098fd58fb261645d83dc69689da0244
treea290755775f797054a6cc7d181ac363f2b573674
parent0a23fccbe3fb652f5af98426a01ab1a71741d6a6
Traversing template paramter lists of DeclaratorDecls and/or TagDecls.

The unit tests in this patch demonstrate the need to traverse template
parameter lists of DeclaratorDecls (e.g. VarDecls, CXXMethodDecls) and
TagDecls (e.g. EnumDecls, RecordDecls).

Fixes PR29042.
https://reviews.llvm.org/D24268

Patch from Lukasz
Ɓukasz Anforowicz <lukasza@chromium.org>!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281345 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/RecursiveASTVisitor.h
unittests/ASTMatchers/ASTMatchersTraversalTest.cpp