Do we want to force braces even for 1 line if/for/etc?

Simone Gaiarin simgunz at gmail.com
Sun Mar 6 07:07:08 GMT 2022


Yes, let's do that.




On Thu, Mar 3, 2022 at 11:42 PM Albert Astals Cid <aacid at kde.org> wrote:

> El divendres, 6 de novembre de 2020, a les 0:27:05 (CET), Albert Astals
> Cid va escriure:
> > El divendres, 11 de setembre de 2020, a les 22:00:30 CET, Albert Astals
> Cid va escriure:
> > > El divendres, 21 d’agost de 2020, a les 1:19:19 CEST, Albert Astals
> Cid va escriure:
> > > > Most of the guidelines suggest it so that you don't forget to add
> them when adding a new line in the "block".
> > > >
> > > > What do you think?
> > > >
> > > > https://invent.kde.org/graphics/okular/-/merge_requests/248
> > > >
> > > > We're going to need quite some changes to make it pass, so asking
> before starting to do the work :D
> > >
> > > We agreed on the Akademy Okular meeting that we will do this, *but*
> I'm going to postpone doing it after the 20.08.3 release.
> > >
> > > Rationale:
> > >  * Making this change even if mechanical (clang-tidy does it) can
> cause potential regressions if something goes wrong, hence is something
> that needs to be applied in master only
> > >  * If we apply it to master now, merging up from release/20.08 to
> master can cause master CI to stop compiling since it'd be requiring more
> things than release/20.08 CI
> >
> > Going to postpone this because it seems not clang-tidy 10 nor 11 nor 12
> are able to format Okular codebase correctly with
> readability-braces-around-statements
>
> clang-tidy-13 seems to have succeeded.
>
> What do you say, should we give it a go?
>
> https://invent.kde.org/graphics/okular/-/merge_requests/578
>
> Cheers,
>   Albert
>
> >
> > Cheers,
> >   Albert
> >
> > >
> > > Cheers,
> > >   Albert
> > >
> > > >
> > > > Cheers,
> > > >   Albert
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20220306/3051cdd6/attachment-0001.htm>


More information about the Okular-devel mailing list