Add .clang-format file.
ClosedPublic

Authored by akreuzkamp on Dec 5 2015, 10:53 AM.

Details

Summary

This file contains the style QmlWeb wants to follow. That allows
automatic code formatting using clang-format.

Diff Detail

Repository
R18 QMLWeb
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
akreuzkamp updated this revision to Diff 1454.Dec 5 2015, 10:53 AM
akreuzkamp retitled this revision from to Add .clang-format file..
akreuzkamp updated this object.
akreuzkamp edited the test plan for this revision. (Show Details)
akreuzkamp added a reviewer: jangmarker.
jangmarker accepted this revision.Dec 7 2015, 6:21 PM
jangmarker edited edge metadata.

Nice :-)
Can we integrate that with arc?

I haven't checked the style in detail, I guess you have used the KDElib style?

.clang-format
77

the tabwidth we use is 4 as far as I know

This revision is now accepted and ready to land.Dec 7 2015, 6:21 PM
akreuzkamp updated this revision to Diff 1702.Jan 3 2016, 10:37 AM
akreuzkamp edited edge metadata.

Updating Tab Width.

Shouldn't make any difference becaue as far as I understand, we don't
use tab width at all, but just in case.

This revision was automatically updated to reflect the committed changes.