You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
This commit is contained in:
@@ -5541,7 +5541,8 @@ static int _get_first_ident_pos(const String &p_code) {
|
||||
if (GETCHAR(0) == '/' && GETCHAR(1) == '/') {
|
||||
idx += 2;
|
||||
while (true) {
|
||||
if (GETCHAR(0) == 0) return 0;
|
||||
if (GETCHAR(0) == 0)
|
||||
return 0;
|
||||
if (GETCHAR(0) == '\n') {
|
||||
idx++;
|
||||
break; // loop
|
||||
@@ -5551,7 +5552,8 @@ static int _get_first_ident_pos(const String &p_code) {
|
||||
} else if (GETCHAR(0) == '/' && GETCHAR(1) == '*') {
|
||||
idx += 2;
|
||||
while (true) {
|
||||
if (GETCHAR(0) == 0) return 0;
|
||||
if (GETCHAR(0) == 0)
|
||||
return 0;
|
||||
if (GETCHAR(0) == '*' && GETCHAR(1) == '/') {
|
||||
idx += 2;
|
||||
break; // loop
|
||||
|
||||
Reference in New Issue
Block a user