On 7/13/19 1:01 AM, Allan Sandfeld Jensen wrote:
I would argue against it. clang-format is extremely primitive and stupid, it can't implement KDE or Qt coding styles or anything close to i
Can you be more specific about it? What parts of the kdelibs/Frameworks coding style can't be implemented/enforced with clang-format?
primitive configuration), and then offer that for newbies so they follow at least basic rules, but a total reformatting of all code would be an objective downgrade of source code readablity and requires simplifying KDE coding styles to something that clang-format supports.
I've noticed that even "pros" sometimes don't follow the coding style or ignore existing coding style standards on purpose because of personal taste.
Cheers, Vlad