Utils: Rename FilePathList to simply FilePaths

The exact storage type does not really matter here.

Change-Id: Iefec40f0f5909c8e7ba3415db4a11962694e1b38
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-12-17 14:07:53 +01:00
parent e16876df0c
commit e109b731ad
92 changed files with 270 additions and 270 deletions

View File

@@ -851,7 +851,7 @@ QList<Snapshot::IncludeLocation> Snapshot::includeLocationsOfDocument(const QStr
return result;
}
Utils::FilePathList Snapshot::filesDependingOn(const Utils::FilePath &fileName) const
Utils::FilePaths Snapshot::filesDependingOn(const Utils::FilePath &fileName) const
{
updateDependencyTable();
return m_deps.filesDependingOn(fileName);

View File

@@ -442,8 +442,8 @@ public:
QSet<QString> allIncludesForDocument(const QString &fileName) const;
QList<IncludeLocation> includeLocationsOfDocument(const QString &fileName) const;
Utils::FilePathList filesDependingOn(const Utils::FilePath &fileName) const;
Utils::FilePathList filesDependingOn(const QString &fileName) const
Utils::FilePaths filesDependingOn(const Utils::FilePath &fileName) const;
Utils::FilePaths filesDependingOn(const QString &fileName) const
{ return filesDependingOn(Utils::FilePath::fromString(fileName)); }
void updateDependencyTable() const;

View File

@@ -29,9 +29,9 @@
using namespace CPlusPlus;
Utils::FilePathList DependencyTable::filesDependingOn(const Utils::FilePath &fileName) const
Utils::FilePaths DependencyTable::filesDependingOn(const Utils::FilePath &fileName) const
{
Utils::FilePathList deps;
Utils::FilePaths deps;
int index = fileIndex.value(fileName, -1);
if (index == -1)

View File

@@ -44,7 +44,7 @@ class CPLUSPLUS_EXPORT DependencyTable
private:
friend class Snapshot;
void build(const Snapshot &snapshot);
Utils::FilePathList filesDependingOn(const Utils::FilePath &fileName) const;
Utils::FilePaths filesDependingOn(const Utils::FilePath &fileName) const;
QVector<Utils::FilePath> files;
QHash<Utils::FilePath, int> fileIndex;