forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user