Style: Apply clang-tidy's readability-braces-around-statements

This commit is contained in:
Rémi Verschelde committed 2021-04-05 14:09:59 +02:00
1 parent 9bbe51dc27
commit d83761ba80
32 files changed
+308 -165

No files matched your search

+4 -2
View File
@@ -75,10 +75,12 @@ ScriptIterator::ScriptIterator(const String &p_string, int p_start, int p_length
while (paren_sp >= 0 && paren_stack[paren_sp].pair_index != paired_ch) {
paren_sp -= 1;
}
if (paren_sp < start_sp)
if (paren_sp < start_sp) {
start_sp = paren_sp;
if (paren_sp >= 0)
}
if (paren_sp >= 0) {
sc = paren_stack[paren_sp].script_code;
}
}
}