Issue 53036
Summary [MLIR] Faulty *.md format for StaticInterfaceMethod
Labels new issue
Assignees
Reporter ZoranZomborat
    Thread started in https://llvm.discourse.group/t/faulty-md-format-for-staticinterfacemethod/5096 .

Tablegen compilation to .md file generates faulty format whenever an interface with StaticInterfaceMethod is defined.

We’re seeing a lack of new line after the StaticInterfaceMethod declaration in .md, and thus subsequent contents does not start at a new line.

```
//
// ToyInterface
//

def ToyInterface : OpInterface<“ToyInterface”> {
let description = “Interface to toy around”;

let cppNamespace = "toy";

let methods = [
    StaticInterfaceMethod<
        "Check presence of new line.",
        "bool", "hasNewline", (ins),
        [{
            return false;
        }]
    >
];
}

```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to