Format code around VCS conflict markers.
Now correctly formats: { int a; void f() { callme(some(parameter1, <<<<<<< text by the vcs parameter2), ||||||| text by the vcs parameter2), parameter3, ======= text by the vcs parameter2, parameter3), >>>>>>> text by the vcs otherparameter); } } git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206157 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Format/Format.cpp 71 additions, 1 deletionlib/Format/Format.cpp
- lib/Format/FormatToken.h 7 additions, 4 deletionslib/Format/FormatToken.h
- lib/Format/UnwrappedLineParser.cpp 44 additions, 25 deletionslib/Format/UnwrappedLineParser.cpp
- lib/Format/UnwrappedLineParser.h 10 additions, 1 deletionlib/Format/UnwrappedLineParser.h
- unittests/Format/FormatTest.cpp 92 additions, 0 deletionsunittests/Format/FormatTest.cpp
Loading
Please register or sign in to comment