If a function with a requires clause as a constraint has a decltype
return type, such as decltype(auto), the decltype was seen to be part
of the constraint clause, rather than as part of the function
declaration, causing it to be placed on the wrong line.
This patch disallows decltype to be a part of these clauses
Fixes https://github.com/llvm/llvm-project/issues/59578
Depends on D140339
The comment needs to be adapted.
But I think it could just be merged into the parsing of the requires clause, or not?