From: Nico Weber Date: Mon, 21 Sep 2015 20:06:42 +0000 (+0000) Subject: clang-format: Remove ChromiumStyle.MacroBlockBegin. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb369333abb0c9986a12a88426b2a3c7197b0c6e;p=clang clang-format: Remove ChromiumStyle.MacroBlockBegin. We prefer setting these in our .clang-format file as the macros change over time. (Also, the code was setting MacroBlockBegin twice and didn't set MacroBlockEnd, so it wasn't doing what it tried to do anyways.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248205 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 55f90801ee..ae313c57dc 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -473,8 +473,6 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) { ChromiumStyle.BinPackParameters = false; ChromiumStyle.DerivePointerAlignment = false; } - ChromiumStyle.MacroBlockBegin = "^IPC_BEGIN_MESSAGE_MAP$"; - ChromiumStyle.MacroBlockBegin = "^IPC_END_MESSAGE_MAP$"; return ChromiumStyle; }