forked from qt-creator/qt-creator
CppModelManager: reduce number of cleanPath calls.
Instead of checking each file's full path individually we store the cleaned version of the directory. Change-Id: Icaa41a38d6608ba364fcb0e01cc9eb1db99470ac Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -265,6 +265,7 @@ public:
|
||||
void run(const QString &fileName);
|
||||
|
||||
void resetEnvironment();
|
||||
static QString cleanPath(const QString &path);
|
||||
|
||||
const QSet<QString> &todo() const
|
||||
{ return m_todo; }
|
||||
@@ -305,7 +306,6 @@ private:
|
||||
CPlusPlus::Environment env;
|
||||
CPlusPlus::Preprocessor preprocess;
|
||||
QStringList m_includePaths;
|
||||
QStringList m_systemIncludePaths;
|
||||
CPlusPlus::CppModelManagerInterface::WorkingCopy m_workingCopy;
|
||||
QStringList m_projectFiles;
|
||||
QStringList m_frameworkPaths;
|
||||
|
Reference in New Issue
Block a user