forked from qt-creator/qt-creator
CppTools: Move WorkingCopy to new cppworkingcopy.{h,cpp}
Change-Id: I447acf28849bffb52c1e6b6eafdde221ec0b179e Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
077bbf6803
commit
b8a6a4dd4e
@@ -68,6 +68,7 @@
|
||||
|
||||
#include <cplusplus/findcdbbreakpoint.h>
|
||||
#include <cpptools/cppmodelmanagerinterface.h>
|
||||
#include <cpptools/cppworkingcopy.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QMessageBox>
|
||||
@@ -2796,18 +2797,18 @@ class BreakpointCorrectionContext
|
||||
{
|
||||
public:
|
||||
explicit BreakpointCorrectionContext(const CPlusPlus::Snapshot &s,
|
||||
const CppTools::CppModelManagerInterface::WorkingCopy &workingCopy) :
|
||||
const CppTools::WorkingCopy &workingCopy) :
|
||||
m_snapshot(s), m_workingCopy(workingCopy) {}
|
||||
|
||||
unsigned fixLineNumber(const QString &fileName, unsigned lineNumber) const;
|
||||
|
||||
private:
|
||||
const CPlusPlus::Snapshot m_snapshot;
|
||||
CppTools::CppModelManagerInterface::WorkingCopy m_workingCopy;
|
||||
CppTools::WorkingCopy m_workingCopy;
|
||||
};
|
||||
|
||||
static CPlusPlus::Document::Ptr getParsedDocument(const QString &fileName,
|
||||
const CppTools::CppModelManagerInterface::WorkingCopy &workingCopy,
|
||||
const CppTools::WorkingCopy &workingCopy,
|
||||
const CPlusPlus::Snapshot &snapshot)
|
||||
{
|
||||
QByteArray src;
|
||||
|
||||
Reference in New Issue
Block a user