Issue 58130
Summary [Format] Always line break on member access in concept
Labels new issue
Assignees
Reporter JohelEGP
    No `.clang-format`.

Input and expected output:
```C++
template <X S>
concept C = S.m;
```

Actual output:
```C++
template <X S>
concept C = S
.m;
```

Parenthesizing the member access results in no extra line break:
```C++
template <X S>
concept C = (S.m);
```

Very similar to https://github.com/llvm/llvm-project/issues/55898.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to