CppTools/Clang: Remove InMemoryInfo

...nowadays we only need the working copy.

Change-Id: I30924b3c5dc68b428d6c10f6ba015b0640b476d2
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-12-15 12:32:01 +01:00
parent 802f9f47e9
commit 9abfd73204
15 changed files with 19 additions and 45 deletions

View File

@@ -63,13 +63,7 @@ public:
Configuration configuration() const;
void setConfiguration(const Configuration &configuration);
struct CPPTOOLS_EXPORT InMemoryInfo {
InMemoryInfo(bool withModifiedFiles);
WorkingCopy workingCopy;
Utils::FileNameList modifiedFiles;
};
void update(const InMemoryInfo &info);
void update(const WorkingCopy &workingCopy);
ProjectPart::Ptr projectPart() const;
@@ -88,7 +82,7 @@ protected:
mutable QMutex m_stateAndConfigurationMutex;
private:
virtual void updateHelper(const InMemoryInfo &inMemoryInfo) = 0;
virtual void updateHelper(const WorkingCopy &workingCopy) = 0;
const QString m_filePath;
Configuration m_configuration;