Issue 177027
Summary Document how Clang-format configuration keys apply to TableGen
Labels clang-format, tablegen
Assignees
Reporter lenary
    Clang-format can be used with TableGen. However, when doing so, it's not obvious which configuration keys cause which effects.

For instance, the `AllowShortFunctionsOnASingleLine` configuration is the `AllowShort*OnASingleLine` for `defs`, such as:

```tablegen
def RISCVInstrInfo : InstrInfo {
  let guessInstructionProperties = 0;
}
```

But this is not a "Function" definition per se - it defines a named record with a body that defines fields in the record.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to