forked from qt-creator/qt-creator
CompilationDatabase: Force QString implicit sharing
Most of the flags in compilation database are the same, let's share them by inserting them all into the temporary QSet of QString-s. Change-Id: I7d9b410b4b0bee40247434b49371bd37214d4c59 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -47,6 +47,6 @@ void filteredFlags(const QString &fileName,
|
||||
QVector<ProjectExplorer::Macro> ¯os,
|
||||
CppTools::ProjectFile::Kind &fileKind);
|
||||
|
||||
QStringList splitCommandLine(QString commandLine);
|
||||
QStringList splitCommandLine(QString commandLine, QSet<QString> &flagsCache);
|
||||
|
||||
} // namespace CompilationDatabaseProjectManager
|
||||
|
||||
Reference in New Issue
Block a user