forked from qt-creator/qt-creator
C++: Change QStringList to QSet<QString> to prevent conversions.
This eliminates a bunch of list->set->list conversions. Especially the ProjectInfo::appendProjectPart takes lots of time converting for every part added. Change-Id: Ib3c8cd4b0ad6c012ccbeed12ebedd46b9b6cca95 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
static bool closeEditorWithoutGarbageCollectorInvocation(Core::IEditor *editor);
|
||||
|
||||
static bool parseFiles(const QString &filePath);
|
||||
static bool parseFiles(const QStringList &filePaths);
|
||||
static bool parseFiles(const QSet<QString> &filePaths);
|
||||
|
||||
static CPlusPlus::Snapshot globalSnapshot();
|
||||
static bool garbageCollectGlobalSnapshot();
|
||||
|
||||
Reference in New Issue
Block a user