diff options
| author | Manuel Klimek <klimek@google.com> | 2013-05-13 12:51:40 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-05-13 12:51:40 +0000 |
| commit | 44135b8836fc3ffb84e540d8a097955271ccbc23 (patch) | |
| tree | 160dabbbded29093ad678301b8fdb4fbcd4fdab4 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | af64032b085d3711405dbe8d98f71c463e0fb52b (diff) | |
| download | clang-44135b8836fc3ffb84e540d8a097955271ccbc23.tar.gz clang-44135b8836fc3ffb84e540d8a097955271ccbc23.tar.bz2 clang-44135b8836fc3ffb84e540d8a097955271ccbc23.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
