Skip to content

Conversation

malcolmr
Copy link
Member

-sort-includes was added in LLVM r248367, and is enabled-by-default as of r253202, both of which will presumably be included in LLVM 3.8 (which hasn't yet been released).

Removing this flag allows :FormatCode to work with development clang-format versions in the range [r242222, r248367), which identify as 3.8.0 but don't support -sort-includes.

This effectively reverts cb42d28. Fixes #64.

-sort-includes was added in LLVM r248367, and is enabled-by-default as
of r253202, both of which will presumably be included in LLVM 3.8 (which
hasn't yet been released).

Removing this flag allows :FormatCode to work with development
clang-format versions in the range [r242222, r248367), which identify as
3.8.0 but don't support -sort-includes.

This effectively reverts cb42d28. Fixes google#64.
@dbarnett
Copy link
Contributor

LGTM.

malcolmr added a commit that referenced this pull request Dec 23, 2015
Stop passing -sort-includes to clang-format
@malcolmr malcolmr merged commit c71d953 into google:master Dec 23, 2015
@malcolmr malcolmr deleted the remove-sort-includes branch December 23, 2015 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants