forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user