aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-25 22:57:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-25 22:57:25 +0000
commita313b2fbba86c901e58dc58df036e731f24fdaee (patch)
treefe353b277464792e5aaa4b84dc508fbeff6613ac /lib/Sema/SemaType.cpp
parent26d6023cb0d343bf8fc8836f97d39709bbd4afa0 (diff)
RecursiveASTVisitor: When in 'shouldVisitTemplateInstantiations' mode, visit
all instantiations of a template when we visit the canonical declaration of the primary template, rather than trying to match them up to the partial specialization from which they are instantiated. This fixes a bug where we failed to visit instantiations of partial specializations of member templates of class templates, and naturally extends to allow us to visit instantiations where we have instantiated only a declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
0 files changed, 0 insertions, 0 deletions