Run clang-format on the codebase.
This commit is contained in:
parent
4b49bd28e7
commit
097a6fc511
|
@ -4,7 +4,7 @@ IndentWidth: 2
|
||||||
---
|
---
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
PointerAlignment: Left
|
PointerAlignment: Left
|
||||||
AllowShortFunctionsOnASingleLine: Inline
|
AllowShortFunctionsOnASingleLine: All
|
||||||
AllowShortIfStatementsOnASingleLine: true
|
AllowShortIfStatementsOnASingleLine: true
|
||||||
ColumnLimit: 100
|
ColumnLimit: 100
|
||||||
AlignEscapedNewlines: DontAlign
|
AlignEscapedNewlines: DontAlign
|
||||||
|
|
|
@ -37,8 +37,7 @@ protected:
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename First>
|
template<typename First> [[noreturn]] void error(const Location& where, const First& first) {
|
||||||
[[noreturn]] void error(const Location& where, const First& first) {
|
|
||||||
printErrorLocation(std::cerr, where, where);
|
printErrorLocation(std::cerr, where, where);
|
||||||
print(std::cerr, first);
|
print(std::cerr, first);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -51,7 +50,8 @@ protected:
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private : std::string source_filename_;
|
private:
|
||||||
|
std::string source_filename_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace monicelli
|
} // namespace monicelli
|
||||||
|
|
Reference in New Issue
Block a user