summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/LookupContext.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-07-09 10:14:49 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2010-07-09 10:17:28 +0200
commit5751f4f1c53c286ea602651372822d92a94c32b9 (patch)
treedec549a45a6b99ebb449f1a02e535127b9ef9434 /src/libs/cplusplus/LookupContext.cpp
parentb6efa77e254e01c8608c1e59da994fec30e966e4 (diff)
downloadqt-creator-5751f4f1c53c286ea602651372822d92a94c32b9.tar.gz
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.
Diffstat (limited to 'src/libs/cplusplus/LookupContext.cpp')
-rw-r--r--src/libs/cplusplus/LookupContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs/cplusplus/LookupContext.cpp b/src/libs/cplusplus/LookupContext.cpp
index 83f118b449..7d9b6dcce9 100644
--- a/src/libs/cplusplus/LookupContext.cpp
+++ b/src/libs/cplusplus/LookupContext.cpp
@@ -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);
}