summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DataExtractor.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-24 20:39:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-24 20:39:49 +0000
commit7af41ccdc478f8bf27694f3d17fa60df4d534fc9 (patch)
treea3220d125ecd0472d9ea4c3f4dbe9c94f6dcb4d0 /llvm/lib/Support/DataExtractor.cpp
parent4d4b5469ab910f3cfbcce282feccca2e961f5107 (diff)
downloadbcm5719-llvm-7af41ccdc478f8bf27694f3d17fa60df4d534fc9.tar.gz
bcm5719-llvm-7af41ccdc478f8bf27694f3d17fa60df4d534fc9.zip
RecursiveASTVisitor: Visit instantiations of member templates of class
templates. In an implicit instantiation of a member class, any member templates don't get instantiated, so the existing check which only visited the instantiations of a defined template skipped these templates' instantiations. Since there is only a single declaration of a member template of a class template specialization, just use that to determine whether to visit the instantiations. This introduces a slight inconsistency in that we will visit the instantiations of such templates whether or not they are defined, but we never visit a declared-but-not-defined instantiation, so this turns out to not matter. Patch by Daniel Jasper! llvm-svn: 155487
Diffstat (limited to 'llvm/lib/Support/DataExtractor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud