<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:zufuliu@163.com" title="Zufu Liu <zufuliu@163.com>"> <span class="fn">Zufu Liu</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion failed: R, file llvm\clang\lib\StaticAnalyzer\Checkers\WebKit\PtrTypesSemantics.cpp, line 64"
href="https://bugs.llvm.org/show_bug.cgi?id=46142">bug 46142</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion failed: R, file llvm\clang\lib\StaticAnalyzer\Checkers\WebKit\PtrTypesSemantics.cpp, line 64"
href="https://bugs.llvm.org/show_bug.cgi?id=46142#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Assertion failed: R, file llvm\clang\lib\StaticAnalyzer\Checkers\WebKit\PtrTypesSemantics.cpp, line 64"
href="https://bugs.llvm.org/show_bug.cgi?id=46142">bug 46142</a>
from <span class="vcard"><a class="email" href="mailto:zufuliu@163.com" title="Zufu Liu <zufuliu@163.com>"> <span class="fn">Zufu Liu</span></a>
</span></b>
<pre>This seems not fixed, it works when source file is checked as C++, not C.
// test.c
struct Opaque;
struct Wrapper {
const struct Opaque *opaque;
};
with clang-tidy built from ab6779bbd8f895153c4409e8f2c0ff26f33e1404
clang-tidy --checks=clang-analyzer-webkit.WebKitNoUncountedMemberChecker test.c
-- -xc++
// nothing
clang-tidy --checks=clang-analyzer-webkit.WebKitNoUncountedMemberChecker test.c
-- -xc
Assertion failed: R, file
H:\llvm\llvm\clang\lib\StaticAnalyzer\Checkers\WebKit\PtrTypesSemantics.cpp,
line 147</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>