[Development] clang-format config file.
Matthew Woehlke
mwoehlke.floss at gmail.com
Thu Jun 30 21:00:16 CEST 2016
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
More information about the Development
mailing list