[PATCH] D60363: [clang-format] [PR41170] Break after return type ignored with certain comments positions

Owen Pan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 7 19:35:26 PDT 2019


owenpan added a reviewer: sammccall.
owenpan added a subscriber: sammccall.
owenpan added a comment.

I added @sammccall to the reviewer list as I'm not sure if we need all these test cases or if there are overlaps among them. It seems all we need is a test case that has a function definition which has a comment after the closing parenthesis of the function header, e.g.:

  void
  foo() // this might be a function definition
  {
  }


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

https://reviews.llvm.org/D60363





More information about the llvm-commits mailing list