"README.md" did not exist on "583db1979cfc9db6d3f12f819d19e3248cda87b4"
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(); } } } } llvm-svn: 181700
Showing
- clang/include/clang/Format/Format.h 16 additions, 1 deletionclang/include/clang/Format/Format.h
- clang/lib/Format/Format.cpp 18 additions, 5 deletionsclang/lib/Format/Format.cpp
- clang/lib/Format/UnwrappedLineParser.cpp 12 additions, 1 deletionclang/lib/Format/UnwrappedLineParser.cpp
- clang/unittests/Format/FormatTest.cpp 44 additions, 0 deletionsclang/unittests/Format/FormatTest.cpp
Loading
Please register or sign in to comment