From 08eb3a93cb0ed47b5ec21ab7245c40c40cd09cb2 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Mon, 16 Aug 2010 11:28:21 +0200 Subject: [PATCH] Get rid of TemplateParameters. --- tests/manual/cplusplus-dump/main.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/manual/cplusplus-dump/main.cpp b/tests/manual/cplusplus-dump/main.cpp index 56fe7c38960..aedf4576fb5 100644 --- a/tests/manual/cplusplus-dump/main.cpp +++ b/tests/manual/cplusplus-dump/main.cpp @@ -240,22 +240,6 @@ protected: out << _id[symbol].constData() << " [label=\"" << name(symbol).constData() << "\"];" << std::endl; } - void generateTemplateParams(TemplateParameters *params) { - if (!params || params->scope()->symbolCount() == 0) - return; - - out << "<"; - for (unsigned i = 0; i < params->scope()->symbolCount(); ++i) { - if (i > 0) - out << ","; - Symbol *s = params->scope()->symbolAt(i); - out << qPrintable(o(s->name())); - if (s->type()) - out << ":" << qPrintable(o(s->type())); - } - out << ">"; - } - virtual bool visit(Class *symbol) { const char *id = _id.value(symbol).constData(); out << id << " [label=\""; @@ -268,7 +252,6 @@ protected: } else { out << "UNKNOWN"; } - generateTemplateParams(symbol->templateParameters()); out << "\\nid: "; if (symbol->identifier()) { -- GitLab