Cleanup for coding style

Add strict mode to check_style_guide script
This commit is contained in:
Alexander Bock
2017-11-08 10:35:39 -06:00
parent d94408224c
commit b50b52d351
387 changed files with 1907 additions and 2132 deletions

View File

@@ -84,7 +84,7 @@ std::string to_string(openspace::documentation::TestResult::Offense::Reason reas
throw ghoul::MissingCaseException();
}
}
std::string to_string(openspace::documentation::TestResult::Warning::Reason reason) {
switch (reason) {
case openspace::documentation::TestResult::Warning::Reason::Deprecated:
@@ -106,7 +106,7 @@ SpecificationError::SpecificationError(TestResult res, std::string comp)
, result(std::move(res))
{
ghoul_assert(!result.success, "Result's success must be false");
message += " (";
for (const TestResult::Offense& o : result.offenses) {
message += o.offender + ',';