| Issue |
61616
|
| Summary |
Wrong indentation of comment before requires clause following template head
|
| Labels |
|
| Assignees |
|
| Reporter |
usx95
|
```cpp
template <typename T, typename U>
// A long comment about requires clause. T and U must allow addition and
// subtraction.
// <- Wrong indentation.
requires requires(T t, U u) {
u + t;
u - t;
}
void WaitForTask(T t, U u)
// A long comment about requires clause. T and U must allow addition and
// subtraction.
// <- This has correct indentation.
requires requires(T t, U u) {
u + t;
u - t;
}
{
u + t;
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs