Issue 71681
Summary [clang-format] incorrect space added r-value reference
Labels new issue
Assignees
Reporter tdegeus
    ```cpp
struct foo {
  template <class T> decltype(auto) operator()(T&& t) const {}
}
```
should not be formatted with
```
PointerBindsToType: true
```
but is formatted to
```cpp
struct foo {
  template <class T> decltype(auto) operator()(T && t) const {}
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to