Created attachment 20191
clang-format used
The following struct in C begins as follows:
struct ApplicationState app_state = {
.signal = {
.use_crash_handler = true,
.use_abort_handler = true,
},
.exit_code_on_error = {
.python = 0,
}
};
Afterwards:
struct ApplicationState app_state = {.signal =
{
.use_crash_handler = true,
.use_abort_handler = true,
},
.exit_code_on_error = {
.python = 0,
}};
... while an exact match to the original code might not be possible. Something
close should be possible.
Attached clang-format, however I don't think it's especially related to this
report.
We're looking at using clang-format, RFC for context - perhaps it's of
interest: https://developer.blender.org/T53211
clang-format
(6024 bytes, text/plain)