aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackframe.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-07-23 22:28:49 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-07-25 12:52:43 +0000
commit0558db7b54a60297444ff3a9a0d49651383bf825 (patch)
treedc7bc8757ebda56fc687b3605a3276f9449eff6d /src/plugins/debugger/stackframe.h
parentbabf038ce8f9174578545df843ff183a1583fd08 (diff)
Debugger: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using modernize-use-default-member-init modernize-use-equals-default Change-Id: I91a6874f0d7b94e9079ab4ef07c23c60c80be9c0 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/stackframe.h')
-rw-r--r--src/plugins/debugger/stackframe.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/debugger/stackframe.h b/src/plugins/debugger/stackframe.h
index 916d578b52c..e51736b5184 100644
--- a/src/plugins/debugger/stackframe.h
+++ b/src/plugins/debugger/stackframe.h
@@ -53,21 +53,21 @@ public:
void fixQrcFrame(const DebuggerRunParameters &rp);
public:
- DebuggerLanguage language;
+ DebuggerLanguage language = CppLanguage;
QString level;
QString function;
QString file; // We try to put an absolute file name in there.
QString module; // Sometimes something like "/usr/lib/libstdc++.so.6"
QString receiver; // Used in ScriptEngine only.
- qint32 line;
- quint64 address;
- bool usable;
+ qint32 line = -1;
+ quint64 address = 0;
+ bool usable = false;
QString context; // Opaque value produced and consumed by the native backends.
Q_DECLARE_TR_FUNCTIONS(Debugger::Internal::StackHandler)
};
-typedef QList<StackFrame> StackFrames;
+using StackFrames = QList<StackFrame>;
} // namespace Internal
} // namespace Debugger