Issue 168822
Summary [clang-doc] Params in JSON don't have type info serialized
Labels clang-doc
Assignees
Reporter evelez7
    Currently, function parameters don't have their type info serialized, so things like parameter args aren't captured in the JSON output. The following param only appears as `tuple t`.

https://github.com/llvm/llvm-project/blob/13ed14f47eb3995942b2e4bba4ab37851b2751f9/clang-tools-extra/test/clang-doc/templates.cpp#L110

See return types for what should be serialized:

https://github.com/llvm/llvm-project/blob/13ed14f47eb3995942b2e4bba4ab37851b2751f9/clang-tools-extra/test/clang-doc/json/class.cpp#L103-L109

Somewhat related, but there aren't any tests for params with template arguments. A completely new test would have to be written for this, or just reuse the older tests written for MD and HTML.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to