forked from qt-creator/qt-creator
CMake: Avoid a bit of useless processing when updating the project tree
Do not pass around a list of filenodes with all the known header files. That list gets converted into a QSet<FilePath> and then that is used. Just generate the QSet<FilePath> directly and avoid that conversion. Change-Id: I2444a2a6b4a1600fe476e66673a1a2e9c8900764 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
QList<CMakeBuildTarget> buildTargets;
|
||||
CppTools::RawProjectParts projectParts;
|
||||
std::unique_ptr<CMakeProjectNode> rootProjectNode;
|
||||
QVector<ProjectExplorer::FileNode *> knownHeaders;
|
||||
QSet<Utils::FilePath> knownHeaders;
|
||||
};
|
||||
|
||||
FileApiQtcData extractData(FileApiData &data,
|
||||
|
||||
Reference in New Issue
Block a user