From 4be5ac759f747946853fecfe12a82704dccb17f4 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 22 Dec 2015 22:42:56 +0000 Subject: [PATCH] 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...) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256288 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/Format.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index c7d1abd2b2..364f4983a2 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -607,6 +607,7 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) { ChromiumStyle.BinPackParameters = false; ChromiumStyle.DerivePointerAlignment = false; } + ChromiumStyle.SortIncludes = false; return ChromiumStyle; } -- 2.40.0