https://bugs.llvm.org/show_bug.cgi?id=51861
Bug ID: 51861
Summary: AlignConsecutiveDeclarations and PointerAlignment is
wrong with double pointers
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
When using a config including:
```
PointerAlignment: Right
AlignConsecutiveDeclarations: true
```
with code such as:
```
static void
foo_function (int *ptr,
const char *path,
GError **error)
```
We get:
```
static void
foo_function (int *ptr,
const char *path,
GError **error)
```
While an extra space is expected:
```
static void
foo_function (int *ptr,
const char *path,
GError **error)
```
Not sure if this should be available through another
`AlignConsecutivePointerDeclarationStyle` option.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs