[PATCH] D58922: [clang-format] broken after lambda with return type template with boolean literal

Jan Korous via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 15:49:12 PST 2019


jkorous added a comment.

BTW I suggest you also add the original test case since the test cases you added fail the expectation at FormatTest.cpp:74 and the message is a bit unclear whether the testcase or the actual implementation is at fault.

  EXPECT_EQ(Expected.str(), format(Expected, Style))
      << "Expected code is not stable";

The original reported case IMO gives a better idea what is broken since it duplicates the end-of-namespace comment.
https://bugs.llvm.org/show_bug.cgi?id=40910


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

https://reviews.llvm.org/D58922





More information about the cfe-commits mailing list