[all-commits] [llvm/llvm-project] ec90bc: [clang-format][NFC] Clean up the unwrapped line pa...

Owen via All-commits all-commits at lists.llvm.org
Tue Jun 7 02:59:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec90bc0ea4386849f9eea54f44d25b49d4673cd6
      https://github.com/llvm/llvm-project/commit/ec90bc0ea4386849f9eea54f44d25b49d4673cd6
  Author: owenca <owenpiano at gmail.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h

  Log Message:
  -----------
  [clang-format][NFC] Clean up the unwrapped line parser

Change the signatures of parseBlock(), parseLevel(), and
parseStructuralElement() to support combining else and if when
removing braces. See #55663.

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




More information about the All-commits mailing list