Add KDEClangFormat cmake support
ClosedPublic

Authored by davidedmundson on Nov 3 2019, 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.Nov 3 2019, 10:40 PM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 3 2019, 10:40 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Nov 3 2019, 10:40 PM
mart accepted this revision.Nov 4 2019, 11:20 AM
This revision is now accepted and ready to land.Nov 4 2019, 11:20 AM
This revision was automatically updated to reflect the committed changes.