diff options
author | Lorenz Junglas <lolleko@users.noreply.github.com> | 2020-03-24 12:30:51 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-03-24 12:41:08 +0100 |
commit | b194e7d6313be3b6e6db6e2d617a76c6dde2651b (patch) | |
tree | a876eb1f54d65b11f3e7068ebbaeb8f46fc94ff5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 68687e75e7cb494796439f127a93ea03f2710551 (diff) | |
download | llvm-b194e7d6313be3b6e6db6e2d617a76c6dde2651b.zip llvm-b194e7d6313be3b6e6db6e2d617a76c6dde2651b.tar.gz llvm-b194e7d6313be3b6e6db6e2d617a76c6dde2651b.tar.bz2 |
[clangd] Change line break behaviour for hoverinfo
`parseDocumentation` retains hard line breaks and removes soft line
breaks inside documentation comments.
Wether a line break is hard or soft is determined by the following rules
(some of which have been discussed in
https://github.com/clangd/clangd/issues/95):
Line breaks that are preceded by a punctuation are retained
Line breaks that are followed by "interesting characters" (e.g. Markdown
syntax, doxygen commands) are retained
All other line breaks are removed
Related issue: https://github.com/clangd/clangd/issues/95
Differential Revision: https://reviews.llvm.org/D76094
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions