r173805 - Split ">>" in "A<B<C> >" in Chromium style.
Daniel Jasper
djasper at google.com
Tue Jan 29 07:19:38 PST 2013
Author: djasper
Date: Tue Jan 29 09:19:38 2013
New Revision: 173805
URL: http://llvm.org/viewvc/llvm-project?rev=173805&view=rev
Log:
Split ">>" in "A<B<C> >" in Chromium style.
It needs to be compatible with C++03.
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=173805&r1=173804&r2=173805&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Tue Jan 29 09:19:38 2013
@@ -207,6 +207,7 @@ FormatStyle getGoogleStyle() {
FormatStyle getChromiumStyle() {
FormatStyle ChromiumStyle = getGoogleStyle();
ChromiumStyle.AllowAllParametersOnNextLine = false;
+ ChromiumStyle.SplitTemplateClosingGreater = true;
return ChromiumStyle;
}
More information about the cfe-commits
mailing list