If you put a trailing comma on the line it does the right thing. Perhaps
you’re on an old version?
No, I just did not know Maybe it would be nice to have an option to
do that automatically, but not sure. It does make sense.
You mean forcing a comma at the end? Generally clang-format tries not to edit source code beyond whitespace. We’ve diverged from this in a couple of places, but always very carefully and reluctantly I personally don’t think that option would carry the weight.