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
99bc0bc6
Commit
99bc0bc6
authored
Dec 29, 2009
by
Erik Verbruggen
Browse files
Added a dump method to the ASTPath.
parent
8d8312a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppquickfix.cpp
View file @
99bc0bc6
...
...
@@ -70,6 +70,13 @@ public:
return
_nodes
;
}
static
void
dump
(
const
QList
<
AST
*>
nodes
)
{
qDebug
()
<<
"ASTPath dump,"
<<
nodes
.
size
()
<<
"nodes:"
;
for
(
int
i
=
0
;
i
<
nodes
.
size
();
++
i
)
qDebug
()
<<
qPrintable
(
QString
(
i
+
1
,
QLatin1Char
(
'-'
)))
<<
typeid
(
*
nodes
.
at
(
i
)).
name
();
}
protected:
virtual
bool
preVisit
(
AST
*
ast
)
{
...
...
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