[Clang-doc] Display enum comments in HTML #183085
ilovepi
requested changes
on 2026-02-26
samrudhnelli
changed the title [Clang-doc] Display enum comments and member values in html/md [Clang-doc] Display enum comments in HTML 112 days ago
evelez7
approved these changes
on 2026-03-10
[Clang-doc] Display enum comments and member values in html/md
decb0de4
display the comment column only if atleast any one member has comments
e5c900ee
update tests
f8b69d88
update /test/clang-doc/enum.cpp
03cfefe1
remove header Name | Value | Comments, implement format suggestions
9eed093d
split display in md into another PR, use -CHECK-NEXT instead of -CHECK
1d2be055
fix unittests
7728bcc2
Handle richer processing of comments, update the tests and template
c069ee73
remove unused header file
ccac0eca
use -NEXT in clang-tools-extra/test/clang-doc/mustache-index.cpp
aa6531de
revert usage of lambda for setting HasComments
a0efab03
remove the leading whitespace
6419f5b2
fix the tests
6a25b383
add a TODO, cleanup json test
30d0eb1a
use <p> instead of <div> for paragraph comments
55af2f46
Revert "use <p> instead of <div> for paragraph comments"
68a80579
handle comments in enum-template.mustache rather than editing comment…
617b89a9
remove TODO for now
ad908eaf
Revert "add a TODO, cleanup json test"
15ab49b4
Revert "fix the tests"
4695ec93
Revert "remove the leading whitespace"
b33b04a7
add function serializeDescription()
3aa1850d
update enum-template.mustache
824131a8
remove json test
4a6ce675
Implement suggestions
45497b2b
rename HasMemberComment to HasEnumMemberComments
f8783bc1
remove unused {{#ParagraphComment}} block
64ab71de
clang-format the code
61dc1086
update -LINE tests
f10abc5a
fix CI error
f710a411
revert .trim() changes
bc533b80
fix .trim()
5e54038d
[Clang-doc] Trim comments after parsing them from the AST (#185528)
191977dc
revert commits
95d86361
fix CI error
a8fe8940
fix test broken due to .trim()
dfedff6e
add JSON tests for enums
c96a782b
fix json tests
048d285e
fix json test
86f8f090
fix failing json tests
1d8951d8
fix failing test
7f146274
ilovepi
approved these changes
on 2026-03-10
use @LINE instead of hardcoding line numbers
e51baf8b
use -LINE:
353f814a
fix -LINE
a08eb5d4
use -NEXT and @LINE
e3387e5a
ilovepi
merged
a9006ada
into main 100 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub