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.
Have you tried setting Cpp11BracedListStyle to false?