Apply clang-format 10 and selected lints from "make lint-all"

This commit is contained in:
Johannes Altmanninger
2020-07-01 00:29:06 +02:00
parent 25fe353187
commit 76e0875c8f
10 changed files with 81 additions and 91 deletions

View File

@@ -559,7 +559,7 @@ unique_ptr<expression> test_parser::parse_args(const wcstring_list_t &args, wcst
int narg = 0;
int len_to_err = 0;
wcstring commandline;
for (auto arg : args) {
for (const wcstring &arg : args) {
if (narg > 0) {
commandline.append(L" ");
}