You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
clang-format: Disable alignment of operands, too unreliable
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
This commit is contained in:
@@ -180,7 +180,7 @@ void GDMonoClass::fetch_methods_with_godot_api_checks(GDMonoClass *p_native_base
|
||||
#ifdef DEBUG_ENABLED
|
||||
String fullname = method->get_ret_type_full_name() + " " + name + "(" + method->get_signature_desc(true) + ")";
|
||||
WARN_PRINT("Method '" + fullname + "' is hidden by Godot API method. Should be '" +
|
||||
method->get_full_name_no_class() + "'. In class '" + namespace_name + "." + class_name + "'.");
|
||||
method->get_full_name_no_class() + "'. In class '" + namespace_name + "." + class_name + "'.");
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
@@ -198,7 +198,7 @@ void GDMonoClass::fetch_methods_with_godot_api_checks(GDMonoClass *p_native_base
|
||||
// found
|
||||
String fullname = m->get_ret_type_full_name() + " " + name + "(" + m->get_signature_desc(true) + ")";
|
||||
WARN_PRINT("Method '" + fullname + "' should be '" + m->get_full_name_no_class() +
|
||||
"'. In class '" + namespace_name + "." + class_name + "'.");
|
||||
"'. In class '" + namespace_name + "." + class_name + "'.");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user