[all-commits] [llvm/llvm-project] 696f8b: Revert "[clang-format] Add a space between an over...

kadir ├žetinkaya via All-commits all-commits at lists.llvm.org
Mon Mar 20 00:08:36 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 696f8b32d4bfe7e96f6fdb425fb4768a0508da83
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/FormatTokenLexer.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  Revert "[clang-format] Add a space between an overloaded operator and '>'"

This reverts commit b05dc1b8766a47482cae432011fd2faa04c83a3e.

Makes clang-format crash on `struct Foo { operator enum foo{} };`

More information about the All-commits mailing list