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:
@@ -46,8 +46,8 @@ class CdbEngine : public DebuggerEngine
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
typedef QSharedPointer<CdbCommand> CdbCommandPtr;
|
||||
typedef std::function<void(const DebuggerResponse &)> CommandHandler;
|
||||
using CdbCommandPtr = QSharedPointer<CdbCommand>;
|
||||
using CommandHandler = std::function<void (const DebuggerResponse &)>;
|
||||
|
||||
explicit CdbEngine();
|
||||
~CdbEngine() override;
|
||||
@@ -119,8 +119,8 @@ private:
|
||||
|
||||
void handleDoInterruptInferior(const QString &errorMessage);
|
||||
|
||||
typedef QHash<BreakpointModelId, BreakpointResponse> PendingBreakPointMap;
|
||||
typedef QPair<QString, QString> SourcePathMapping;
|
||||
using PendingBreakPointMap = QHash<BreakpointModelId, BreakpointResponse>;
|
||||
using SourcePathMapping = QPair<QString, QString>;
|
||||
struct NormalizedSourceFileName // Struct for caching mapped/normalized source files.
|
||||
{
|
||||
NormalizedSourceFileName(const QString &fn = QString(), bool e = false) : fileName(fn), exists(e) {}
|
||||
|
||||
Reference in New Issue
Block a user