Run clang-format on the codebase.

This commit is contained in:
Stefano Sanfilippo 2023-01-04 19:24:33 +01:00
parent 4b49bd28e7
commit 097a6fc511
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ IndentWidth: 2
---
Language: Cpp
PointerAlignment: Left
AllowShortFunctionsOnASingleLine: Inline
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
ColumnLimit: 100
AlignEscapedNewlines: DontAlign

View File

@ -37,8 +37,7 @@ protected:
exit(1);
}
template<typename First>
[[noreturn]] void error(const Location& where, const First& first) {
template<typename First> [[noreturn]] void error(const Location& where, const First& first) {
printErrorLocation(std::cerr, where, where);
print(std::cerr, first);
exit(1);
@ -51,7 +50,8 @@ protected:
exit(1);
}
private : std::string source_filename_;
private:
std::string source_filename_;
};
} // namespace monicelli