Reformat source files with clang-format 19.1.7

This commit is contained in:
Rangi42
2025-01-27 17:27:52 -05:00
committed by Rangi
parent 20c18256ed
commit a354af3d08
18 changed files with 75 additions and 81 deletions

View File

@@ -194,8 +194,7 @@ static T readLE(U const *bytes) {
*
* @return true if a line was read.
*/
[[gnu::warn_unused_result]] // Ignoring EOF is a bad idea.
static bool readLine(std::filebuf &file, std::string &buffer) {
[[gnu::warn_unused_result]] static bool readLine(std::filebuf &file, std::string &buffer) {
assume(buffer.empty());
// TODO: maybe this can be optimized to bulk reads?
for (;;) {