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 | 818da9bb299cad1a75e5e31dbd96dabb22f54cb8 (patch) | |
tree | 1a7c9a1c5b4372a8532403a04a50f554432d27ab /clang/docs/tools/dump_format_style.py | |
parent | 1696bb65233cdbef0a1138175cd540fc1b86e540 (diff) | |
download | bcm5719-llvm-818da9bb299cad1a75e5e31dbd96dabb22f54cb8.tar.gz bcm5719-llvm-818da9bb299cad1a75e5e31dbd96dabb22f54cb8.zip |
[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
llvm-svn: 317794
Diffstat (limited to 'clang/docs/tools/dump_format_style.py')
-rwxr-xr-x | clang/docs/tools/dump_format_style.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/docs/tools/dump_format_style.py b/clang/docs/tools/dump_format_style.py index e2571f46448..1ca050e062b 100755 --- a/clang/docs/tools/dump_format_style.py +++ b/clang/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): |