Update clang-format to disallow single line for-loops
This commit is contained in:
+2
-1
@@ -77,7 +77,8 @@ namespace y$1::day13
|
||||
Node node;
|
||||
node.nodes = std::stoi(str.substr(index));
|
||||
nodes.emplace_back(node);
|
||||
while (str[index] >= '0' && str[index] <= '9') index++;
|
||||
while (str[index] >= '0' && str[index] <= '9')
|
||||
index++;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user