<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Invalid HTML in reports with macros and popups."
href="https://bugs.llvm.org/show_bug.cgi?id=44782">44782</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Invalid HTML in reports with macros and popups.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Static Analyzer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dcoughlin@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>noqnoqneo@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dcoughlin@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=23089" name="attach_23089" title="The buggy HTML output.">attachment 23089</a> <a href="attachment.cgi?id=23089&action=edit" title="The buggy HTML output.">[details]</a></span>
The buggy HTML output.
$ cat test.c
#define MACRO if (b)
void foo2() {
int a;
int b = 1;
MACRO
bar(a);
}
$ clang -cc1 -analyze -analyzer-checker=core test.c \
-analyzer-output=html -o .
*HTML output attached*
Basically, it gets messy when it tries to produce popup pieces within macro
pieces.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>