]> granicus.if.org Git - clang/commitdiff
Split ">>" in "A<B<C> >" in Chromium style.
authorDaniel Jasper <djasper@google.com>
Tue, 29 Jan 2013 15:19:38 +0000 (15:19 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 29 Jan 2013 15:19:38 +0000 (15:19 +0000)
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

lib/Format/Format.cpp

index a8599dfbeb666b1e829987588b2917bd00084054..2522d4d5bffba70ceb25df4539fdfa844fdd2395 100644 (file)
@@ -207,6 +207,7 @@ FormatStyle getGoogleStyle() {
 FormatStyle getChromiumStyle() {
   FormatStyle ChromiumStyle = getGoogleStyle();
   ChromiumStyle.AllowAllParametersOnNextLine = false;
+  ChromiumStyle.SplitTemplateClosingGreater = true;
   return ChromiumStyle;
 }