clang-format: don't sort using declarations

Our clang-format-5.0.0 does sorting in a way different to clang-format
from git, so prepare for that unwanted change now.

There are two differences:

- newer clang-format does uniq sort
- the ordering also differs, e.g. 'librevenge::RVNGInputStream' used to
  be ordered before 'librevenge::RVNG_SEEK_CUR', now it's ordered after
  that

Turning the sorting off is always possible, i.e. running
solenv/clang-format/reformat-formatted-files after this change results
in no changes.

Change-Id: I146874d4d5a9ad1c45826285fdc798fec77d6ade
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89480
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna 2020-02-25 21:11:51 +01:00
parent b629d98e6f
commit 6397a0d49c

View file

@ -45,3 +45,4 @@ SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 4
SortIncludes: false
SortUsingDeclarations: false