]> granicus.if.org Git - clang/commit
[clang-format] Add a SortUsingDeclaration option and enable it by default
authorKrasimir Georgiev <krasimir@google.com>
Fri, 23 Jun 2017 11:46:03 +0000 (11:46 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Fri, 23 Jun 2017 11:46:03 +0000 (11:46 +0000)
commit598aad0fe0d99790d34390533e51e3d0e85531ef
treef107f40c5f661836791205db8444e72df6699acb
parent4c8bc8646c93899503aa9efbb92832e952c4bbec
[clang-format] Add a SortUsingDeclaration option and enable it by default

Summary:
This patch adds a `SortUsingDeclaration` style option and enables it for llvm
style.

Reviewers: klimek

Reviewed By: klimek

Subscribers: klimek

Differential Revision: https://reviews.llvm.org/D34453

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306094 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp