Reenabled the old `deprecated' template instantiation.

I hate this commit, but unfortunately, I don't have time right now
to finish the new template instantion algorithm so I have to
enable the old way of doing instantiations.
This commit is contained in:
Roberto Raggi
2010-07-09 10:14:49 +02:00
parent b6efa77e25
commit 5751f4f1c5

View File

@@ -432,7 +432,6 @@ void CreateBindings::lookupInScope(const Name *name, Scope *scope,
else if (s->name()->isQualifiedNameId())
continue; // skip qualified ids.
#if 0
if (templateId && (s->isDeclaration() || s->isFunction())) {
FullySpecifiedType ty = DeprecatedGenTemplateInstance::instantiate(templateId, s, _control);
@@ -457,7 +456,6 @@ void CreateBindings::lookupInScope(const Name *name, Scope *scope,
continue;
}
}
#endif
result->append(s);
}