[PATCH] D59309: [clang-format] BreakAfterReturnType ignored on functions with numeric template parameters

MyDeveloperDay via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 04:56:29 PDT 2019


MyDeveloperDay added a comment.

of course, this isn't legal

  int TestFn(A=1)
  {
    return a;
  }

and, would see the TT_StartOfName for (a) and would break

  int
  TestFn(A a = 1)
  {
    return a;
  }


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

https://reviews.llvm.org/D59309





More information about the llvm-commits mailing list