-
- Downloads
clang-format: Add more options to namespace indentation.
With this patch, clang-format can be configured to: * not indent in namespace at all (former behavior). * indent in namespace as in other blocks. * indent only in inner namespaces (as required by WebKit style). Also fix alignment of access specifiers in WebKit style. Patch started by Marek Kurdej. Thank you! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187540 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Format/Format.h 10 additions, 0 deletionsinclude/clang/Format/Format.h
- lib/Format/Format.cpp 19 additions, 2 deletionslib/Format/Format.cpp
- lib/Format/UnwrappedLineParser.cpp 9 additions, 6 deletionslib/Format/UnwrappedLineParser.cpp
- lib/Format/UnwrappedLineParser.h 1 addition, 1 deletionlib/Format/UnwrappedLineParser.h
- unittests/Format/FormatTest.cpp 49 additions, 3 deletionsunittests/Format/FormatTest.cpp
Loading
Please register or sign in to comment