summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-01-29 15:19:38 +0000
committerDaniel Jasper <djasper@google.com>2013-01-29 15:19:38 +0000
commit17fdaa40fc57baa4cad1d2e5144858d17e12982a (patch)
tree0cce2654cdc4ed50da32669c990aaa46db3672aa /clang/lib/Format/Format.cpp
parentf05d2f254ebd27a356f71a01fb706f06aba7d0d1 (diff)
downloadbcm5719-llvm-17fdaa40fc57baa4cad1d2e5144858d17e12982a.tar.gz
bcm5719-llvm-17fdaa40fc57baa4cad1d2e5144858d17e12982a.zip
Split ">>" in "A<B<C> >" in Chromium style.
It needs to be compatible with C++03. llvm-svn: 173805
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index a8599dfbeb6..2522d4d5bff 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -207,6 +207,7 @@ FormatStyle getGoogleStyle() {
FormatStyle getChromiumStyle() {
FormatStyle ChromiumStyle = getGoogleStyle();
ChromiumStyle.AllowAllParametersOnNextLine = false;
+ ChromiumStyle.SplitTemplateClosingGreater = true;
return ChromiumStyle;
}
OpenPOWER on IntegriCloud