forked from qt-creator/qt-creator
CppTools: Make updateProjectPart() const
...and rename to "determineProjectPart". This is in preparation for a follow-up change. determineProjectPart() should not set any state. Change-Id: Iad7be8638fd97a79a4227a944896ac9af0a36862 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -63,18 +63,18 @@ public:
|
||||
static BaseEditorDocumentParser *get(const QString &filePath);
|
||||
|
||||
protected:
|
||||
void updateProjectPart();
|
||||
ProjectPart::Ptr determineProjectPart() const;
|
||||
|
||||
bool editorDefinesChanged() const;
|
||||
void resetEditorDefinesChanged();
|
||||
|
||||
protected:
|
||||
mutable QMutex m_mutex;
|
||||
ProjectPart::Ptr m_projectPart;
|
||||
|
||||
private:
|
||||
const QString m_filePath;
|
||||
|
||||
ProjectPart::Ptr m_projectPart;
|
||||
ProjectPart::Ptr m_manuallySetProjectPart;
|
||||
|
||||
bool m_usePrecompiledHeaders;
|
||||
|
||||
Reference in New Issue
Block a user