diff options
author | Rik Huijzer <github@huijzer.xyz> | 2023-10-13 10:09:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 10:09:44 +0200 |
commit | 9a8ff346bb20a684e8edd62035077aba06bea084 (patch) | |
tree | cf677fc56c0fad58359a1cb5d93ddc1afd49178f /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 69b6b48670c79a7440fcc273ee58420795bb9b43 (diff) | |
download | llvm-9a8ff346bb20a684e8edd62035077aba06bea084.zip llvm-9a8ff346bb20a684e8edd62035077aba06bea084.tar.gz llvm-9a8ff346bb20a684e8edd62035077aba06bea084.tar.bz2 |
[mlir][doc] Trim summary text during DocGen (#68477)
When defining a multi-line string in tblgen, the output in the Markdown
file currently contains too much whitespace and newlines for Hugo's
Markdown parser. For example, for `arith.addui_extended` the tblgen
```tblgen
let summary = [{
extended unsigned integer addition operation returning sum and overflow bit
}];
```
is currently converted to
```markdown
_
extended unsigned integer addition operation returning sum and overflow bit
_
```
which causes the text to not be italicized (as can be seen at
https://mlir.llvm.org/docs/Dialects/ArithOps/#arithaddui_extended-arithadduiextendedop).
After this PR, the output becomes
```
_Extended unsigned integer addition operation returning sum and overflow bit_
```
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions