Upgrade formatting to clang-format 10 (#5895)

* Update formatting tools to clang-format-10

* Reformat using clang-format-10.0.09
This commit is contained in:
Daniel Patterson
2020-11-26 07:21:39 -08:00
committed by GitHub
parent a3f1c2afb0
commit 50d9632ed7
373 changed files with 1198 additions and 1163 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ struct FeatureWriter
};
//
}
}
} // namespace tools
} // namespace osrm
int main(int argc, char *argv[])
{
+2 -1
View File
@@ -142,7 +142,8 @@ return_code parseArguments(int argc,
return return_code::ok;
}
int main(int argc, char *argv[]) try
int main(int argc, char *argv[])
try
{
util::LogPolicy::GetInstance().Unmute();
std::string verbosity;
+2 -1
View File
@@ -131,7 +131,8 @@ return_code parseArguments(int argc,
return return_code::ok;
}
int main(int argc, char *argv[]) try
int main(int argc, char *argv[])
try
{
util::LogPolicy::GetInstance().Unmute();
std::string verbosity;
+2 -1
View File
@@ -141,7 +141,8 @@ return_code parseArguments(int argc,
return return_code::ok;
}
int main(int argc, char *argv[]) try
int main(int argc, char *argv[])
try
{
util::LogPolicy::GetInstance().Unmute();
extractor::ExtractorConfig extractor_config;
+2 -2
View File
@@ -45,8 +45,8 @@ void runStatistics(std::vector<double> &timings_vector, Statistics &stats)
timings_vector.begin(), timings_vector.end(), timings_vector.begin(), 0.0);
stats.dev = std::sqrt(primary_sq_sum / timings_vector.size() - (stats.mean * stats.mean));
}
}
}
} // namespace tools
} // namespace osrm
boost::filesystem::path test_path;
+2 -1
View File
@@ -185,7 +185,8 @@ return_code parseArguments(int argc,
return return_code::ok;
}
int main(int argc, char *argv[]) try
int main(int argc, char *argv[])
try
{
util::LogPolicy::GetInstance().Unmute();
std::string verbosity;
+2 -1
View File
@@ -220,7 +220,8 @@ inline unsigned generateServerProgramOptions(const int argc,
return INIT_OK_DO_NOT_START_ENGINE;
}
int main(int argc, const char *argv[]) try
int main(int argc, const char *argv[])
try
{
util::LogPolicy::GetInstance().Unmute();
+2 -1
View File
@@ -221,7 +221,8 @@ bool generateDataStoreOptions(const int argc,
std::_Exit(128 + signum);
}
int main(const int argc, const char *argv[]) try
int main(const int argc, const char *argv[])
try
{
int signals[] = {SIGTERM, SIGSEGV, SIGINT, SIGILL, SIGABRT, SIGFPE};
for (auto sig : signals)