FullZing wrote:
Hello @HazardyKnusperkeks ,
thank you for making this great support.
But I have a strange case , would you mind helping me to have a look at it?
```
// format1
def X_Type
: X_I32EnumAttr<
"Type", [I32EnumAttrCase<"A", 0>,
I32EnumAttrCase<"B", 1>,
I32EnumAttrCase<"C", 2>
]>;
// format2
def X_Type
: X_I32EnumAttr<"Type", [I32EnumAttrCase<"A", 0>,
I32EnumAttrCase<"B", 1>,
I32EnumAttrCase<"C", 2>
]>;
// format2
def X_Type
: X_I32EnumAttr<
"Type",
[I32EnumAttrCase<"A", 0>, I32EnumAttrCase<"B", 1>,
I32EnumAttrCase<"C", 2>
]>;
// format3
def X_Type
: X_I32EnumAttr<
"Type",
[I32EnumAttrCase<"A", 0>,
I32EnumAttrCase<"B", 1>,
I32EnumAttrCase<"C", 2>
]>;
```
as you can see, clang-format with tablegen produces different result for my
case.
I'd like all of them has same result (for example, format3).
is it possible to achieve it?
https://github.com/llvm/llvm-project/pull/86150
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits