forked from OSchip/llvm-project
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:
parent
a7f56ab893
commit
b10423ad49
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue