Skip to content
Snippets Groups Projects
Commit 08eb3a93 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Get rid of TemplateParameters.

parent 833f097c
No related branches found
No related tags found
No related merge requests found
...@@ -240,22 +240,6 @@ protected: ...@@ -240,22 +240,6 @@ protected:
out << _id[symbol].constData() << " [label=\"" << name(symbol).constData() << "\"];" << std::endl; 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) { virtual bool visit(Class *symbol) {
const char *id = _id.value(symbol).constData(); const char *id = _id.value(symbol).constData();
out << id << " [label=\""; out << id << " [label=\"";
...@@ -268,7 +252,6 @@ protected: ...@@ -268,7 +252,6 @@ protected:
} else { } else {
out << "UNKNOWN"; out << "UNKNOWN";
} }
generateTemplateParams(symbol->templateParameters());
out << "\\nid: "; out << "\\nid: ";
if (symbol->identifier()) { if (symbol->identifier()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment