]> granicus.if.org Git - clang/commit
RecursiveASTVisitor:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 9 May 2012 23:51:36 +0000 (23:51 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 9 May 2012 23:51:36 +0000 (23:51 +0000)
commit06cd51a83577019ea26661b7d570ae9aef06f674
treed46fa8ff6bcba596243cf3db4beb1cf77556099f
parent1de6a6cb485fb58b4fb100282bb3cf298eedacd9
RecursiveASTVisitor:

We don't create any declaration to mark the explicit instantiation of function
templates other than the instantiation itself, so visit that when traversing
the function template decl.

This is a temporary fix, pending the creation of a Decl node to represent the
explicit instantiation.

Patch by Daniel Jasper!

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