[all-commits] [llvm/llvm-project] 1aa608: [clang-format] Handle wrapped else for RemoveBrace...

Owen via All-commits all-commits at lists.llvm.org
Thu Mar 3 04:55:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1aa608a0208bc6a6945550a2071285ab51d899f1
      https://github.com/llvm/llvm-project/commit/1aa608a0208bc6a6945550a2071285ab51d899f1
  Author: owenca <owenpiano at gmail.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Handle wrapped else for RemoveBracesLLVM

Removes the newline before the right brace that's followed by an
else on the next line.

Differential Revision: https://reviews.llvm.org/D120873




More information about the All-commits mailing list