diff options
author | hjk <hjk@qt.io> | 2019-12-17 14:07:53 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-12-18 08:43:18 +0000 |
commit | e109b731ad001ba566289b7184799e91b19fbccb (patch) | |
tree | 133667f71377d5af130b776f97d3f090ef1c8138 /src/plugins/cppcheck/cppchecktool.cpp | |
parent | e16876df0cd65c40480fcf7f2ae9f16ab66c991c (diff) | |
download | qt-creator-e109b731ad001ba566289b7184799e91b19fbccb.tar.gz |
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>
Diffstat (limited to 'src/plugins/cppcheck/cppchecktool.cpp')
-rw-r--r-- | src/plugins/cppcheck/cppchecktool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/cppcheck/cppchecktool.cpp b/src/plugins/cppcheck/cppchecktool.cpp index ded937c61e..cf52af1958 100644 --- a/src/plugins/cppcheck/cppchecktool.cpp +++ b/src/plugins/cppcheck/cppchecktool.cpp @@ -181,11 +181,11 @@ const CppcheckOptions &CppcheckTool::options() const return m_options; } -void CppcheckTool::check(const Utils::FilePathList &files) +void CppcheckTool::check(const Utils::FilePaths &files) { QTC_ASSERT(m_project, return); - Utils::FilePathList filtered; + Utils::FilePaths filtered; if (m_filters.isEmpty()) { filtered = files; } else { @@ -208,7 +208,7 @@ void CppcheckTool::check(const Utils::FilePathList &files) return; } - std::map<CppTools::ProjectPart::Ptr, Utils::FilePathList> groups; + std::map<CppTools::ProjectPart::Ptr, Utils::FilePaths> groups; for (const Utils::FilePath &file : qAsConst(filtered)) { const QString stringed = file.toString(); for (const CppTools::ProjectPart::Ptr &part : parts) { @@ -224,7 +224,7 @@ void CppcheckTool::check(const Utils::FilePathList &files) addToQueue(group.second, *group.first); } -void CppcheckTool::addToQueue(const Utils::FilePathList &files, CppTools::ProjectPart &part) +void CppcheckTool::addToQueue(const Utils::FilePaths &files, CppTools::ProjectPart &part) { const QString key = part.id(); if (!m_cachedAdditionalArguments.contains(key)) @@ -232,7 +232,7 @@ void CppcheckTool::addToQueue(const Utils::FilePathList &files, CppTools::Projec m_runner->addToQueue(files, m_cachedAdditionalArguments[key]); } -void CppcheckTool::stop(const Utils::FilePathList &files) +void CppcheckTool::stop(const Utils::FilePaths &files) { m_runner->removeFromQueue(files); m_runner->stop(files); |