llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[clang-doc] Enum value comments aren't serialized in JSON

Open evelez7 opened this issue 10 months ago • 6 comments

Currently, the JSON generator doesn't serialize enum value comments.

Somewhat related, depending on the length of the comment, it's not ideal for them to be displayed in a box like we currently do in HTML. That might need rethinking.

evelez7 avatar Jan 09 '26 05:01 evelez7

This is a more involved issue, but would be good for someone who wants to implement and learn a vertical chunk of clang-doc.

evelez7 avatar Feb 17 '26 01:02 evelez7

Hi!

This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:

  1. Check that no other contributor is working on this issue. If someone is assigned to the issue or claimed to be working on it, ping the person. After one week without a response, the assignee may be changed.
  2. Leave a comment indicating that you are working on the issue, or just create a pull request after following the steps below. Mention this issue in the description of the pull request.
  3. Fix the issue locally.
  4. Run the test suite locally. Remember that the subdirectories under test/ create fine-grained testing targets, so you can e.g. use make check-clang-ast to only run Clang's AST tests.
  5. Create a Git commit.
  6. Run git clang-format HEAD~1 to format your changes.
  7. Open a pull request to the upstream repository on GitHub. Detailed instructions can be found in GitHub's documentation. Mention this issue in the description of the pull request.

If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below.

llvmbot avatar Feb 17 '26 01:02 llvmbot

@llvm/issue-subscribers-good-first-issue

Author: Erick Velez (evelez7)

Currently, the JSON generator doesn't serialize enum value comments.

Somewhat related, depending on the length of the comment, it's not ideal for them to be displayed in a box like we currently do in HTML. That might need rethinking.

llvmbot avatar Feb 17 '26 01:02 llvmbot

Hi, I’d like to work on this issue.

shrav784 avatar Mar 01 '26 17:03 shrav784

This issue already has a PR open #183085

evelez7 avatar Mar 01 '26 18:03 evelez7

Fixed with #183085

evelez7 avatar Mar 17 '26 22:03 evelez7