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
Tobias Hunger
qt-creator
Commits
87fc54fa
Commit
87fc54fa
authored
Jul 14, 2010
by
hjk
Browse files
debugger: code cosmetics
parent
47fee378
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
87fc54fa
...
...
@@ -632,11 +632,11 @@ movableTypes = set([
def
stripClassTag
(
type
):
if
type
.
startswith
(
"class "
):
return
type
[
6
:]
el
if
type
.
startswith
(
"struct "
):
if
type
.
startswith
(
"struct "
):
return
type
[
7
:]
el
if
type
.
startswith
(
"const "
):
if
type
.
startswith
(
"const "
):
return
type
[
6
:]
el
if
type
.
startswith
(
"volatile "
):
if
type
.
startswith
(
"volatile "
):
return
type
[
9
:]
return
type
...
...
@@ -685,6 +685,7 @@ def makeExpression(value):
def
qtNamespace
():
try
:
str
=
catchCliOutput
(
"ptype QString::Null"
)[
0
]
# The result looks like:
# "type = const struct myns::QString::Null {"
# " <no data fields>"
# "}"
...
...
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