================
@@ -67,6 +67,23 @@ static void writeSourceFileRef(const ClangDocContext &CDCtx, 
const Location &L,
   OS << "\n\n";
 }
 
+static std::string genRawText(const std::vector<CommentInfo> &Comments) {
+  std::string Result;
----------------
evelez7 wrote:

So if I'm reading this correctly, this would end up with one really long string 
from an enum value's source comment. I know we don't have any multiline 
comments in the tests, unfortunately, but for the following example:

```cpp
enum Signal {
  Sleep,
  Shutdown // Kills process.
           // Use safely.
};
```

That would concatenate the two sentences right? I'm not sure that's what we'd 
want. HTML should be valid Markdown, so maybe a `<br>` can be used? 

https://github.com/llvm/llvm-project/pull/183085
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to