Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
08eb3a93
Commit
08eb3a93
authored
Aug 16, 2010
by
Roberto Raggi
Browse files
Get rid of TemplateParameters.
parent
833f097c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/manual/cplusplus-dump/main.cpp
View file @
08eb3a93
...
...
@@ -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
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment