[PATCH] D79773: [clang-format] Improve clang-formats handling of concepts

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 08:16:17 PST 2020


MyDeveloperDay added a comment.

I don't think it was far off, I just I agreed with @klimek in trying to address the many different cases that came up I started to feel that  `parseConstraintExpression` was becoming fragile

Having said that I like to think because they are in concepts specific parse code I won't break too much (famous last words!), any if you've tried to format concept code with the current clang-format well good luck with that.

Perhaps something is better than nothing?

if you think it has merits, if it covers most cases ok, then I'd be happy to see it land and work on any refinements from there.


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

https://reviews.llvm.org/D79773



More information about the cfe-commits mailing list