Add KDEClangFormat cmake support
ClosedPublic

Authored by davidedmundson on Sun, Nov 3, 10:40 PM.

Details

Summary

This allows devs to run: "make clang-format" and format all files easily
using the preset KDE clang format style

This patch adds support so devs can easily test the intended formatting
now, it doesn't change the code yet..

If this patch is accepted I'll treat it as being accepted for all Plasma
repos. Doing an initial run to commit everything will happen later.

Test Plan

Ran script
git diff was full of amazingly cleaned code

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Sun, Nov 3, 10:40 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSun, Nov 3, 10:40 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Sun, Nov 3, 10:40 PM
mart accepted this revision.Mon, Nov 4, 11:20 AM
This revision is now accepted and ready to land.Mon, Nov 4, 11:20 AM
This revision was automatically updated to reflect the committed changes.