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:
@@ -94,7 +94,7 @@ void ClangEditorDocumentParser::update(CppTools::WorkingCopy workingCopy)
|
||||
QMutexLocker lock(m_marker->mutex());
|
||||
QMutexLocker lock2(&m_mutex);
|
||||
|
||||
updateProjectPart();
|
||||
m_projectPart = determineProjectPart();
|
||||
const QStringList options = createOptions(filePath(), projectPart(), true);
|
||||
|
||||
qCDebug(log, "Reparse options (cmd line equivalent): %s",
|
||||
|
||||
Reference in New Issue
Block a user