[clang] [clang-format] Fix bad spacing of macro after lambda introducer (PR #92673)

2024-05-19 Thread Matthew Olsson via cfe-commits
https://github.com/mattco98 converted_to_draft https://github.com/llvm/llvm-project/pull/92673 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix bad spacing of macro after lambda introducer (PR #92673)

2024-05-19 Thread Matthew Olsson via cfe-commits
mattco98 wrote: @nico pointed out that calling `handleAttributes()` in `tryToParseLambda()` might be a better way to fix this, and I might be able to fix his other attribute issue while I'm at it. Going to draft this for now. https://github.com/llvm/llvm-project/pull/92673

[clang] [clang-format] Fix bad spacing of macro after lambda introducer (PR #92673)

2024-05-18 Thread Matthew Olsson via cfe-commits
https://github.com/mattco98 created https://github.com/llvm/llvm-project/pull/92673 Fixes #92661. Also fixes the same problem applied to function-style macros, which I didn't consider when creating that issue. >From 8fe985951273af784588265f5883be03d907744a Mon Sep 17 00:00:00 2001 From: Matt