From 6397a0d49c1672eadf2408e2deac8399322e3013 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 25 Feb 2020 21:11:51 +0100 Subject: 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 --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index d16c2f72d040..16fd8b1263e7 100644 --- a/.clang-format +++ b/.clang-format @@ -45,3 +45,4 @@ SpaceAfterControlStatementKeyword: true SpaceBeforeAssignmentOperators: true ContinuationIndentWidth: 4 SortIncludes: false +SortUsingDeclarations: false -- cgit