[clang-format] Improper formatting of `operator*`
Open
clang-format
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Currently with LLVM's default format settings we get the following results:
```C++
std::complex a;
std::complex b;
auto c = a * b; // correctly formated by clang-format
a* b; // incorrectly formatted, the * is attached to the first argument
```
The desired result is to get consistent formatting:
```C++
std::complex a;
std::complex b;
auto c = a * b; // OK
a * b; // OK
```
An actual screenshot:
Contributor guide
Assessment
This issue has not been assessed yet.