diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-11-09 15:41:23 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-11-09 15:41:23 +0000 |
commit | 77d44926f547b2f37a94b862d35d57097a7615fb (patch) | |
tree | aa60dd2d6a2940a3a460b29c671d24d9acd13f1f /docs/tools | |
parent | 12524441b438dd0a8967304e644c8b4a6ee362a4 (diff) | |
download | clang-77d44926f547b2f37a94b862d35d57097a7615fb.tar.gz |
[clang-format] Sort using declarations by splitting on '::'
Summary: This patch improves using declarations sorting.
Reviewers: bkramer
Reviewed By: bkramer
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D39786
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rwxr-xr-x | docs/tools/dump_format_style.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tools/dump_format_style.py b/docs/tools/dump_format_style.py index e2571f4644..1ca050e062 100755 --- a/docs/tools/dump_format_style.py +++ b/docs/tools/dump_format_style.py @@ -177,7 +177,8 @@ def read_options(header): for option in options: if not option.type in ['bool', 'unsigned', 'int', 'std::string', 'std::vector<std::string>', - 'std::vector<IncludeCategory>']: + 'std::vector<IncludeCategory>', + 'std::vector<RawStringFormat>']: if enums.has_key(option.type): option.enum = enums[option.type] elif nested_structs.has_key(option.type): |