[PATCH] D86959: [clang-format] Fix formatting of _Atomic() qualifier
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 00:54:45 PDT 2020
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
More information about the cfe-commits
mailing list