Always use braces with InsertBraces: true in .clang-format

This commit is contained in:
Rangi42
2025-01-27 19:31:35 -05:00
committed by Rangi
parent 25c9f8f383
commit cae31005f8
29 changed files with 1350 additions and 717 deletions

View File

@@ -341,8 +341,9 @@ static char *execProg(char const *name, char * const *argv) {
std::vector<char> cmdLine;
for (size_t i = 0; argv[i]; ++i) {
if (i > 0)
if (i > 0) {
cmdLine.push_back(' ');
}
cmdLine.insert(cmdLine.end(), argv[i], argv[i] + strlen(argv[i]));
}
cmdLine.push_back('\0');