Clang Format Update

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.plasma,gmane.comp.kde.devel.kwin
Message-ID <CAGeFrHCSWd15kEEJ+YZ3RjCnfC1vxn8DidtUG3qE_3t33Rp9wg@mail.gmail.com>
By the end of tonight there will be a patch in every plasma repo
adding a build target called "clang-format" using the new ECM macros.

Running "make clang-format" or "ninja clang-format" will tidy up all
code in all repos.

I have shipped this target now so that all devs can test the upcoming
changes and provide any feedback or merge any blacklist markers we may
find we want in specific places [1].

THE IMPORTANT BIT

DO NOT merge the resultant tidied files just yet. We shall do so with
a fake author in a week or two.

[1]
int formatted_code;
// clang-format off
    void    unformatted_code  ;
// clang-format on
int formatted_code2;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.