aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-01-22 15:32:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-01-22 15:32:35 +0000
commitaa5952c53f6c6a844a22fa2294186e16018b31e1 (patch)
tree4c93e0057e5f43b73ea720bde9643c38471c8eb9 /lib/Sema/SemaTemplate.cpp
parentc46bb7d098bf9e9f0258bf2bb97d8f0f7d382288 (diff)
revert r123977 and r123978 to fix PR9026.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r--lib/Sema/SemaTemplate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp
index 2d2c3ea672..ad08a11f20 100644
--- a/lib/Sema/SemaTemplate.cpp
+++ b/lib/Sema/SemaTemplate.cpp
@@ -2470,7 +2470,6 @@ bool Sema::CheckTemplateArgumentList(TemplateDecl *Template,
TemplateParameterList::iterator Param = Params->begin(),
ParamEnd = Params->end();
unsigned ArgIdx = 0;
- LocalInstantiationScope InstScope(*this, true);
while (Param != ParamEnd) {
if (ArgIdx > NumArgs && PartialTemplateArgs)
break;