sammccall added a comment.

Sorry to be really late here, but this patch regressed some macro definitions 
like:

  #define lambda [](const decltype(x) &ptr) {}

which now formats as

  #define lambda [](const decltype(x) & ptr) {}

(extra space around ampersand)

It looks like the generalization of decltype into a tokentype on the parens 
isn't catching all the cases it used to.
This isn't really my area - any idea why this might be?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86959

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D86959: [clan... Sam McCall via Phabricator via cfe-commits

Reply via email to