aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2018-05-25 15:28:52 +0200
committerhjk <[email protected]>2018-05-28 07:36:32 +0000
commit94d41afade75b3d6a93fed1d37b0afecf4a9de04 (patch)
tree3ebe58219ee73a0bafbe523df1d8b7784d79176d /src/plugins/debugger/debuggerplugin.cpp
parentdb1174b6b8d28c0ec9e543e02a413ded0a326aad (diff)
Debugger: Move cpp snapshot storage to cdbengine
It's the only one using it. Change-Id: I95dc4918c82653710a47cb8d0043bb3241e954ac Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 41105707043..e29a4fdec66 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -88,7 +88,6 @@
#include <cppeditor/cppeditorconstants.h>
#include <qmljseditor/qmljseditorconstants.h>
-#include <cpptools/cppmodelmanager.h>
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/buildmanager.h>
@@ -1042,7 +1041,6 @@ public:
bool m_busy = false;
QString m_lastPermanentStatusMessage;
- mutable CPlusPlus::Snapshot m_codeModelSnapshot;
DebuggerPlugin *m_plugin = nullptr;
SnapshotHandler *m_snapshotHandler = nullptr;
@@ -2607,7 +2605,6 @@ void DebuggerPluginPrivate::updateState(DebuggerRunTool *runTool)
m_debugWithoutDeployAction->setEnabled(canRun);
setProxyAction(m_visibleStartAction, Id(Constants::DEBUG));
m_hiddenStopAction->setAction(m_undisturbableAction);
- m_codeModelSnapshot = CPlusPlus::Snapshot();
setBusyCursor(false);
cleanupViews();
} else if (state == InferiorUnrunnable) {
@@ -2812,13 +2809,6 @@ void DebuggerPluginPrivate::aboutToShutdown()
m_shutdownTimer.start();
}
-const CPlusPlus::Snapshot &cppCodeModelSnapshot()
-{
- if (dd->m_codeModelSnapshot.isEmpty() && action(UseCodeModel)->isChecked())
- dd->m_codeModelSnapshot = CppTools::CppModelManager::instance()->snapshot();
- return dd->m_codeModelSnapshot;
-}
-
void setSessionValue(const QByteArray &key, const QVariant &value)
{
SessionManager::setValue(QString::fromUtf8(key), value);