aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaTemplateInstantiate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-08 01:19:17 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-08 01:19:17 +0000
commite9374d5e2c0915bd883dfa988db2451b844390d8 (patch)
treed5a550f290f01a0aec5ae8f8889e038a027b15f1 /lib/Sema/SemaTemplateInstantiate.cpp
parent44e368b6a85c42d681148ccd5e0052418ff9751e (diff)
Make sure to set the template specialization kind of an explicit
template instantiation of a member function of a class template. FIXME -= 2; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp
index e0ffca9d2d..ee6600adc6 100644
--- a/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -996,9 +996,9 @@ Sema::InstantiateClassMembers(SourceLocation PointOfInstantiation,
Record->getInstantiatedFromMemberClass(),
TemplateArgs,
TSK);
- else
- InstantiateClassMembers(PointOfInstantiation, Record, TemplateArgs,
- TSK);
+
+ InstantiateClassMembers(PointOfInstantiation, Record, TemplateArgs,
+ TSK);
}
}
}