diff options
author | Daniel Jasper <djasper@google.com> | 2015-11-16 12:38:56 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-11-16 12:38:56 +0000 |
commit | da446770823be1b1d1562734e55da7c1a5f2579c (patch) | |
tree | 2bf41eaac2d5dcd6b8181359a850bbd26e037fe4 /clang/tools/clang-format/clang-format-sublime.py | |
parent | bc09f39476723d319feaac18c948cd3498681136 (diff) | |
download | bcm5719-llvm-da446770823be1b1d1562734e55da7c1a5f2579c.tar.gz bcm5719-llvm-da446770823be1b1d1562734e55da7c1a5f2579c.zip |
clang-format: Enable #include sorting by default.
This has seen quite some usage and I am not aware of any issues. Also
add a style option to enable/disable include sorting. The existing
command line flag can from now on be used to override whatever is set
in the style.
llvm-svn: 253202
Diffstat (limited to 'clang/tools/clang-format/clang-format-sublime.py')
-rw-r--r-- | clang/tools/clang-format/clang-format-sublime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-sublime.py b/clang/tools/clang-format/clang-format-sublime.py index 1cffcecc394..16ff56e502c 100644 --- a/clang/tools/clang-format/clang-format-sublime.py +++ b/clang/tools/clang-format/clang-format-sublime.py @@ -32,7 +32,7 @@ class ClangFormatCommand(sublime_plugin.TextCommand): if encoding == 'Undefined': encoding = 'utf-8' regions = [] - command = [binary, '-sort-includes', '-style', style] + command = [binary, '-style', style] for region in self.view.sel(): regions.append(region) region_offset = min(region.a, region.b) |