r248205 - clang-format: Remove ChromiumStyle.MacroBlockBegin.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 13:06:42 PDT 2015
Author: nico
Date: Mon Sep 21 15:06:42 2015
New Revision: 248205
URL: http://llvm.org/viewvc/llvm-project?rev=248205&view=rev
Log:
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.)
Modified:
cfe/trunk/lib/Format/Format.cpp
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=248205&r1=248204&r2=248205&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Mon Sep 21 15:06:42 2015
@@ -473,8 +473,6 @@ FormatStyle getChromiumStyle(FormatStyle
ChromiumStyle.BinPackParameters = false;
ChromiumStyle.DerivePointerAlignment = false;
}
- ChromiumStyle.MacroBlockBegin = "^IPC_BEGIN_MESSAGE_MAP$";
- ChromiumStyle.MacroBlockBegin = "^IPC_END_MESSAGE_MAP$";
return ChromiumStyle;
}
More information about the cfe-commits
mailing list