clang-format bug?


I was running clang-format -i -style=Chromium today in one of Chromium
files (ui/base/clipboard/clipboard.h)

And it changed this:

FormatType& operator=(const FormatType& other);

To this:

FormatType& operator=(const FormatType & other);

But the former is the 'right' style for Chromium.

I don't know if if this should be filed/reported elsewhere, so excuse
me if this isn't the right place for this.

Best regards,

Hi Thiago,

you can file bugs at (product “clang”, component “Formatter”).


Fixed in r179270.