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
@@ -22,7 +22,7 @@
|
||||
* correctly.
|
||||
*
|
||||
* \sa CPlusPlus::Document
|
||||
* \sa CppTools::CppModelManagerInterface::WorkingCopy
|
||||
* \sa CppTools::WorkingCopy
|
||||
*/
|
||||
|
||||
using namespace CPlusPlus;
|
||||
@@ -69,7 +69,7 @@ inline Message messageNoFileContents(Document::Ptr &document, const QString &fil
|
||||
return Message(Message::Warning, document->fileName(), line, /*column =*/ 0, text);
|
||||
}
|
||||
|
||||
inline const Macro revision(const CppModelManagerInterface::WorkingCopy &workingCopy,
|
||||
inline const Macro revision(const WorkingCopy &workingCopy,
|
||||
const Macro ¯o)
|
||||
{
|
||||
Macro newMacro(macro);
|
||||
@@ -96,7 +96,7 @@ CppSourceProcessor::~CppSourceProcessor()
|
||||
void CppSourceProcessor::setRevision(unsigned revision)
|
||||
{ m_revision = revision; }
|
||||
|
||||
void CppSourceProcessor::setWorkingCopy(const CppModelManagerInterface::WorkingCopy &workingCopy)
|
||||
void CppSourceProcessor::setWorkingCopy(const WorkingCopy &workingCopy)
|
||||
{ m_workingCopy = workingCopy; }
|
||||
|
||||
void CppSourceProcessor::setHeaderPaths(const ProjectPart::HeaderPaths &headerPaths)
|
||||
|
||||
Reference in New Issue
Block a user