curdeius added a comment.
Looks more or less correct, but I am afraid that this change may misbehave in
some rare cases.
Consider `*[](auto *x) { return x; }();`, so an immediately invoked lambda
returning a pointer.
It seems to be correctly formatted currently, but I don't see any test on it.
Could you add a test for this please?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124589/new/
https://reviews.llvm.org/D124589
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits