From b2fbab18fd4f873537abff1ec1622bfd8e083b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 30 Jan 2021 17:52:41 +0100 Subject: [PATCH] astyle formatting [ci skip] --- gui/cppchecklibrarydata.cpp | 2 +- gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/cppchecklibrarydata.cpp b/gui/cppchecklibrarydata.cpp index 0683a4c7c..f0514012c 100644 --- a/gui/cppchecklibrarydata.cpp +++ b/gui/cppchecklibrarydata.cpp @@ -570,7 +570,7 @@ static void writeTypeChecks(QXmlStreamWriter &xmlWriter, const CppcheckLibraryDa xmlWriter.writeEndElement(); } -static void writePlatformType (QXmlStreamWriter &xmlWriter, const CppcheckLibraryData::PlatformType &pt) +static void writePlatformType(QXmlStreamWriter &xmlWriter, const CppcheckLibraryData::PlatformType &pt) { xmlWriter.writeStartElement("platformtype"); xmlWriter.writeAttribute("name", pt.name); diff --git a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp index 06272a040..e9f37d602 100644 --- a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp +++ b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp @@ -202,7 +202,7 @@ void TestCppcheckLibraryData::platformTypeValid() QCOMPARE(libraryData.platformTypes[1].value, "all"); QCOMPARE(libraryData.platformTypes[1].types.size(), 5); QCOMPARE(libraryData.platformTypes[1].types, - QStringList({"unsigned", "long", "pointer", "const_ptr", "ptr_ptr"})); + QStringList({"unsigned", "long", "pointer", "const_ptr", "ptr_ptr"})); QCOMPARE(libraryData.platformTypes[1].platforms.isEmpty(), true); QCOMPARE(libraryData.platformTypes[2].name, "types and platform");