On 2016-06-30 06:52, Olivier Goffart wrote:
> [clang-format] follows the style closely, but there are some cases
> that might not be following existing practices. The question is if we
> want to try to fix clang-format to be able to cope with them, or
> simply adapt the coding style to fit clang-format config.
> 
> Some of the things that are not possible with clang-format if to have all the 
> function in one line like we sometimes have in our headers:
> 
>   inline const QString operator+(const QString &s1, const QString &s2)
>   { QString t(s1); t += s2; return t; }

FWIW, I vote for fixing clang-format... because Qt is probably not the
only project out there that would prefer to use such format :-).

-- 
Matthew

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to