Update clang-format to disallow single line for-loops

This commit is contained in:
Thraix committed 2026-08-23 12:12:53 +02:00
1 parent ab6c726ebc
commit 988c5552d0
22 files changed
+79 -40

No files matched your search

+2 -1
View File
@@ -68,7 +68,8 @@ namespace y$1::day11
std::getline(input, str);
std::stringstream ss{str};
ss >> "Starting items: ";
while (std::getline(ss, str, ',')) monkey.items.emplace_back(std::stoi(str));
while (std::getline(ss, str, ','))
monkey.items.emplace_back(std::stoi(str));
}
{ // operator
std::getline(input, str);