[Development] Proposing changes to https://wiki.qt.io/Qt_Coding_Style

Thiago Macieira thiago.macieira at intel.com
Tue May 9 16:43:36 CEST 2023


On Monday, 8 May 2023 23:51:37 PDT Marc Mutz via Development wrote:
>    // WRONG
>    template<class T>
>    // CORRECT:
>    template <class T>
> 
> Rationale: We always used the latter in Qt. Then a faulty _clang-format
> that dropped the space for unknown reasons was added to qt5.git and
> since then, we have a wild mix. We should fix the faulty _clang-format
> file and codify just one variant in the normative document,
> https://wiki.qt.io/Qt_Coding_Style.

Strictly speaking, we've used both for a very long while. But I prefer with 
the space.

I agree with the other suggestions.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230509/b7844e35/attachment-0001.bin>


More information about the Development mailing list