summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-02-25 21:11:51 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-02-26 09:12:49 +0100
commit6397a0d49c1672eadf2408e2deac8399322e3013 (patch)
tree2849c8b92afd4d7663708981fbd82b9cf659546c /.clang-format
parentb629d98e6f9fc71ee0f43a973cf9cbb85148f073 (diff)
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>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
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