Disable include sorting by default for Chromium style.

Include sorting generally can break .cc files, especially on Windows.  Make
this opt-in for Chromium style to give us some more time to roll this out.

(Given that the Google style guide is used by many companies, some of them
probably writing code on Windows, one could argue this should be opt-in in
general...)

llvm-svn: 256288
This commit is contained in:
Nico Weber 2015-12-22 22:42:56 +00:00
parent a7f56ab893
commit b10423ad49
1 changed files with 1 additions and 0 deletions

View File

@ -607,6 +607,7 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) {
ChromiumStyle.BinPackParameters = false; ChromiumStyle.BinPackParameters = false;
ChromiumStyle.DerivePointerAlignment = false; ChromiumStyle.DerivePointerAlignment = false;
} }
ChromiumStyle.SortIncludes = false;
return ChromiumStyle; return ChromiumStyle;
} }