projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05d2f2
)
Split ">>" in "A<B<C> >" in Chromium style.
author
Daniel Jasper
<djasper@google.com>
Tue, 29 Jan 2013 15:19:38 +0000
(15:19 +0000)
committer
Daniel Jasper
<djasper@google.com>
Tue, 29 Jan 2013 15:19:38 +0000
(15:19 +0000)
It needs to be compatible with C++03.
llvm-svn: 173805
clang/lib/Format/Format.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Format/Format.cpp
b/clang/lib/Format/Format.cpp
index
a8599df
..
2522d4d
100644
(file)
--- 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;
}