Commit 81d6b20
authored
[lldb] Add a simplified syntax for underlying command options (NFC) (llvm#155694)
This PR updates the tablegen emitter for command options to support a
simplified syntax to underline the mnemonic. Previously, you had to
write `${ansi.underline}<L>${ansi.normal}`, where `<L>` is the mnemonic.
This really hurt the readability of the description. With this PR, you
can write `${<L>}` instead.1 parent 8f317c1 commit 81d6b20
File tree
2 files changed
+42
-18
lines changed- lldb
- source/Commands
- utils/TableGen
2 files changed
+42
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
755 | 753 | | |
756 | 754 | | |
757 | 755 | | |
758 | | - | |
| 756 | + | |
759 | 757 | | |
760 | 758 | | |
761 | 759 | | |
762 | 760 | | |
763 | | - | |
| 761 | + | |
764 | 762 | | |
765 | 763 | | |
766 | 764 | | |
767 | 765 | | |
768 | | - | |
| 766 | + | |
769 | 767 | | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
775 | 772 | | |
776 | 773 | | |
777 | 774 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
26 | 53 | | |
27 | 54 | | |
28 | 55 | | |
| |||
68 | 95 | | |
69 | 96 | | |
70 | 97 | | |
71 | | - | |
| 98 | + | |
72 | 99 | | |
73 | 100 | | |
74 | 101 | | |
| |||
0 commit comments