Issue 171014
Summary [clang-format] Improper formatting of `operator*`
Labels clang-format
Assignees
Reporter H-G-Hristov
    Currently with LLVM's default format settings we get the following results:

```C++

int a;
int 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++

int a;
int b;

auto c = a * b; // OK
a * b; // OK
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to