]> granicus.if.org Git - clang/commitdiff
clang-format: Remove ChromiumStyle.MacroBlockBegin.
authorNico Weber <nicolasweber@gmx.de>
Mon, 21 Sep 2015 20:06:42 +0000 (20:06 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 21 Sep 2015 20:06:42 +0000 (20:06 +0000)
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

lib/Format/Format.cpp

index 55f90801ee7e7ca6c76930cad28b2db3ef34a59f..ae313c57dce1fc008dabbaa59e37e502f373b264 100644 (file)
@@ -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;
 }