[clang] [clang-format] Handle requires clause following a pointer type (PR #142893)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 5 01:30:05 PDT 2025


owenca wrote:

> For all sane code this works. Although there are valid codes where a star can preceed a requires expression.

Sure, but I think that's also true for the existing `tok::greater` and `tok::amp` cases.

https://github.com/llvm/llvm-project/pull/142893


More information about the cfe-commits mailing list