Issue 166652
Summary [clang-doc] Enum underlying type is not displayed
Labels clang-doc
Assignees
Reporter evelez7
    https://github.com/llvm/llvm-project/blob/f4f247f01efc6d78df260b325b8d72a91ed9fd32/llvm/lib/BinaryFormat/COFF.cpp#L14-L15

We don't display an enum's underlying type in HTML. It is serialized in JSON though, as `BaseType`, e.g.
```
      "BaseType": {
        "Name": "unsigned int",
        "QualName": "unsigned int",
        "USR": "0000000000000000000000000000000000000000"
      },
```

Since the enum might not have a name, we probably shouldn't display it as a colon directly after `enum`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to