commit | 44135b8836fc3ffb84e540d8a097955271ccbc23 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Mon May 13 12:51:40 2013 +0000 |
committer | Manuel Klimek <klimek@google.com> | Mon May 13 12:51:40 2013 +0000 |
tree | 160dabbbded29093ad678301b8fdb4fbcd4fdab4 | |
parent | af64032b085d3711405dbe8d98f71c463e0fb52b [diff] |
Implements brace breaking styles. We now support "Linux" and "Stroustrup" brace breaking styles, which gets us one step closer to support formatting WebKit, KDE & Linux code. Linux brace breaking style: namespace a { class A { void f() { if (x) { f(); } else { g(); } } } } Stroustrup brace breaking style: namespace a { class A { void f() { if (x) { f(); } else { g(); } } } } git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181700 91177308-0d34-0410-b5e6-96231b3b80d8