[clang-format] RemoveSemicolon: true
does not remove semicolon at the end of empty function
#79833
Labels
RemoveSemicolon: true
does not remove semicolon at the end of empty function
#79833
Environment
The tested v18 clang-format executable was built from latest source of 15.01.2024.
Setting in
.clang-format
is:Problem
RemoveSemicolon: true
does not remove semicolon at the end of constructor/destructor:When adding something (in that case
int i;
) into the implementation, it seems to work and the semicolons after}
get removed:It looks like #58251 mentions clang-format "cannot determine {} as an empty function".
The text was updated successfully, but these errors were encountered: