[PATCH] D75034: [clang-format] use spaces for alignment with UT_ForContinuationAndIndentation

Maximilian Fickert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 28 03:46:46 PDT 2020


fickert updated this revision to Diff 253327.
fickert added a comment.

I moved the changed behavior to a new option (`UT_AlignWithSpaces`), and added corresponding unit tests by copying and adapting the tests for `UT_ForContinuationAndIndentation`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75034/new/

https://reviews.llvm.org/D75034

Files:
  clang/include/clang/Format/Format.h
  clang/lib/Format/BreakableToken.cpp
  clang/lib/Format/ContinuationIndenter.cpp
  clang/lib/Format/ContinuationIndenter.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/UnwrappedLineFormatter.cpp
  clang/lib/Format/WhitespaceManager.cpp
  clang/lib/Format/WhitespaceManager.h
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75034.253327.patch
Type: text/x-patch
Size: 24230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200328/ec49d8cf/attachment-0001.bin>


More information about the cfe-commits mailing list