Commit 8a505a1
authored
[clangd] Doxygen Parsing: Add proper handling of \note, \warning and \retval command + change render kind of command arguments + add preprocessing for markdown code blocks/spans (#156365)
Fixes some followup issues from clangd/clangd#529.
`\note` and `\warning`:
In the hover card, they are now displayed with heading and enclosing
rulers.
`\retval` commands:
Each `\retval` command is now a bullet point under the return section of
the hover card.
Added a Markdown preprocessing step before parsing the documentation
with the doxygen parser.
This mainly replaces markdown code blocks with `@code...@endcode`
commands.1 parent 22a02b6 commit 8a505a1
File tree
6 files changed
+927
-157
lines changed- clang-tools-extra/clangd
- support
- unittests
6 files changed
+927
-157
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
1540 | 1546 | | |
1541 | 1547 | | |
1542 | 1548 | | |
| |||
1550 | 1556 | | |
1551 | 1557 | | |
1552 | 1558 | | |
1553 | | - | |
| 1559 | + | |
1554 | 1560 | | |
1555 | 1561 | | |
1556 | 1562 | | |
| |||
1564 | 1570 | | |
1565 | 1571 | | |
1566 | 1572 | | |
1567 | | - | |
| 1573 | + | |
1568 | 1574 | | |
1569 | 1575 | | |
1570 | 1576 | | |
| |||
1583 | 1589 | | |
1584 | 1590 | | |
1585 | 1591 | | |
1586 | | - | |
| 1592 | + | |
1587 | 1593 | | |
1588 | 1594 | | |
1589 | 1595 | | |
1590 | 1596 | | |
1591 | 1597 | | |
1592 | 1598 | | |
1593 | 1599 | | |
| 1600 | + | |
| 1601 | + | |
1594 | 1602 | | |
1595 | 1603 | | |
1596 | 1604 | | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
1603 | 1609 | | |
1604 | 1610 | | |
1605 | 1611 | | |
| |||
0 commit comments