Deprecate the old template instantiation.

This commit is contained in:
Roberto Raggi
2010-05-20 13:44:38 +02:00
parent e07c34017e
commit 3b113a2d74
6 changed files with 22 additions and 22 deletions

View File

@@ -15,7 +15,7 @@
#include <Names.h>
#include <Literals.h>
#include <DiagnosticClient.h>
#include <GenTemplateInstance.h>
#include <DeprecatedGenTemplateInstance.h>
#include <Overview.h>
#include <ExpressionUnderCursor.h>
#include <Names.h>
@@ -436,7 +436,7 @@ void tst_Semantic::template_instance_1()
FullySpecifiedType templArgs[] = { control.integerType(IntegerType::Int) };
const Name *templId = control.templateNameId(control.findOrInsertIdentifier("QList"), templArgs, 1);
FullySpecifiedType genTy = GenTemplateInstance::instantiate(templId, decl, &control);
FullySpecifiedType genTy = DeprecatedGenTemplateInstance::instantiate(templId, decl, &control);
Overview oo;
oo.setShowReturnTypes(true);