aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs-setup-toolchains/sdccprobe.cpp
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-05-19 02:29:11 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2019-05-21 11:43:09 +0000
commitd5ace749e89a6b6fbf4ec836e054fab21729a0ef (patch)
tree6d6cb583daf0fb3feb885a7c7e5b6337d0959169 /src/app/qbs-setup-toolchains/sdccprobe.cpp
parent52737be344ba20625a2a0d305517eafadb78c74d (diff)
Fix readability-static-definition-in-anonymous-namespace warnings
Move static functions out of anonymous namespaces Change-Id: Iae6d13189b716e47b21f4c11e1c337487f78fad5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app/qbs-setup-toolchains/sdccprobe.cpp')
-rw-r--r--src/app/qbs-setup-toolchains/sdccprobe.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/app/qbs-setup-toolchains/sdccprobe.cpp b/src/app/qbs-setup-toolchains/sdccprobe.cpp
index 00275e51d..751e872ee 100644
--- a/src/app/qbs-setup-toolchains/sdccprobe.cpp
+++ b/src/app/qbs-setup-toolchains/sdccprobe.cpp
@@ -55,8 +55,6 @@ using namespace qbs;
using Internal::Tr;
using Internal::HostOsInfo;
-namespace {
-
static QStringList knownSdccCompilerNames()
{
return {QStringLiteral("sdcc")};
@@ -136,8 +134,6 @@ static std::vector<SdccInstallInfo> installedSdccsFromRegistry()
return infos;
}
-} // end of anonymous namespace
-
bool isSdccCompiler(const QString &compilerName)
{
return Internal::any_of(knownSdccCompilerNames(), [compilerName](