apply the C++11 style change in .clang-format
diff --git a/src/jsontestrunner/main.cpp b/src/jsontestrunner/main.cpp
index 855f9c7..d2d41aa 100644
--- a/src/jsontestrunner/main.cpp
+++ b/src/jsontestrunner/main.cpp
@@ -22,7 +22,7 @@
Json::String path;
Json::Features features;
bool parseOnly;
- using writeFuncType = Json::String(*)(Json::Value const&);
+ using writeFuncType = Json::String (*)(Json::Value const&);
writeFuncType write;
};
@@ -37,10 +37,11 @@
(s[index + 1] == '+' || s[index + 1] == '-') ? 1 : 0;
Json::String::size_type exponentStartIndex = index + 1 + hasSign;
Json::String normalized = s.substr(0, exponentStartIndex);
- Json::String::size_type indexDigit = s.find_first_not_of('0', exponentStartIndex);
+ Json::String::size_type indexDigit =
+ s.find_first_not_of('0', exponentStartIndex);
Json::String exponent = "0";
if (indexDigit != Json::String::npos) // There is an exponent different
- // from 0
+ // from 0
{
exponent = s.substr(indexDigit);
}
@@ -180,7 +181,8 @@
return 0;
}
-static Json::String removeSuffix(const Json::String& path, const Json::String& extension) {
+static Json::String removeSuffix(const Json::String& path,
+ const Json::String& extension) {
if (extension.length() >= path.length())
return Json::String("");
Json::String suffix = path.substr(path.length() - extension.length());