Open
Description
Bugzilla Link | 35298 |
Version | 5.0 |
OS | MacOS X |
Extended Description
E.g.
static CapClass vtable = { CustomLineCapTypeAdjustableArrow,
gdip_adjust_arrowcap_setup,
gdip_adjust_arrowcap_clone_cap,
gdip_adjust_arrowcap_destroy,
gdip_adjust_arrowcap_draw };
Formatting this code with clang-format removes the spaces inside the initializer list:
static CapClass vtable = {CustomLineCapTypeAdjustableArrow,
gdip_adjust_arrowcap_setup,
gdip_adjust_arrowcap_clone_cap,
gdip_adjust_arrowcap_destroy,
gdip_adjust_arrowcap_draw};
Please provide a way (e.g. something like SpacesInSquareBrackets) to provide the functionality to add spaces inside an initializer list.