On Ubuntu 20.04:
sudo apt-get install clang-format-10
Then update your changed files.
clang-format-10 -i sourcefile.cc
The -i formats the file in place. Otherwise, output is to stdout.
Ron
On 11/11/20 02:20, Volker Schroer wrote:
> Hi,
>
> I just made a pr and got the message that the pr formatting check
> failed. But looking at the output I don't understand, what's wrong.
>
> Even more I'd like to know how I can do the formatting check locally.
> The coding guide in the wiki is empty.
>
> Thanks in advance
>
> -- Volker
>
>
>
>
>
No comments:
Post a Comment