summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-09-21 20:06:42 +0000
committerNico Weber <nicolasweber@gmx.de>2015-09-21 20:06:42 +0000
commitd1a9125cdd9b82f76b5032f879b6cb9aeeb99329 (patch)
treef7fdf1c62fb17164ddfe6d602396d470c7f1df7c /clang/lib/Format
parent1564f3c4eca5aa21542c4655d37d55d68062ca4e (diff)
downloadbcm5719-llvm-d1a9125cdd9b82f76b5032f879b6cb9aeeb99329.tar.gz
bcm5719-llvm-d1a9125cdd9b82f76b5032f879b6cb9aeeb99329.zip
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.) llvm-svn: 248205
Diffstat (limited to 'clang/lib/Format')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 55f90801ee7..ae313c57dce 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud