clang-format: Add option to suppress operator alignment.
With alignment: int aaaaaa = aa + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb * cccccccccccccccccccccccccccccccc; Without alignment: int aaaaaa = aa + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb * cccccccccccccccccccccccccccccccc; This fixes llvm.org/PR21666. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223117 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/ClangFormatStyleOptions.rst 17 additions, 1 deletiondocs/ClangFormatStyleOptions.rst
- include/clang/Format/Format.h 5 additions, 0 deletionsinclude/clang/Format/Format.h
- lib/Format/ContinuationIndenter.cpp 8 additions, 4 deletionslib/Format/ContinuationIndenter.cpp
- lib/Format/Format.cpp 4 additions, 0 deletionslib/Format/Format.cpp
- unittests/Format/FormatTest.cpp 61 additions, 2 deletionsunittests/Format/FormatTest.cpp
- unittests/Format/FormatTestJava.cpp 1 addition, 1 deletionunittests/Format/FormatTestJava.cpp
Loading
Please register or sign in to comment