aboutsummaryrefslogtreecommitdiff
path: root/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
commitf40fb4beaa22b4e53cd8b5319836b361ebfa6c62 (patch)
treefe3593baafb7e928745de88754d9c968cdfe152c /lib/Format/Format.cpp
parentb3109e35d75a543d167906384347c017812e5dbf (diff)
Split ">>" in "A<B<C> >" in Chromium style.
It needs to be compatible with C++03. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r--lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index a8599dfbeb..2522d4d5bf 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -207,6 +207,7 @@ FormatStyle getGoogleStyle() {
FormatStyle getChromiumStyle() {
FormatStyle ChromiumStyle = getGoogleStyle();
ChromiumStyle.AllowAllParametersOnNextLine = false;
+ ChromiumStyle.SplitTemplateClosingGreater = true;
return ChromiumStyle;
}