<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:chris.hamilton@ericsson.com" title="Chris Hamilton <chris.hamilton@ericsson.com>"> <span class="fn">Chris Hamilton</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - webkit NoUncountedMemberChecker crashes on very simple C code"
href="https://bugs.llvm.org/show_bug.cgi?id=46177">bug 46177</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>DUPLICATE
</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 - webkit NoUncountedMemberChecker crashes on very simple C code"
href="https://bugs.llvm.org/show_bug.cgi?id=46177#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - webkit NoUncountedMemberChecker crashes on very simple C code"
href="https://bugs.llvm.org/show_bug.cgi?id=46177">bug 46177</a>
from <span class="vcard"><a class="email" href="mailto:chris.hamilton@ericsson.com" title="Chris Hamilton <chris.hamilton@ericsson.com>"> <span class="fn">Chris Hamilton</span></a>
</span></b>
<pre>This issue remains after d61ad660503d landed. Seems this is *not* a duplicate:
ch[09:25][repo/ch/llvm]$ ghist | grep NoUncount
* d61ad660503d 2020-06-02 | [Analyzer][WebKit] Check record definition is
available in NoUncountedMembers checker [<a href="mailto:jkorous@apple.com">jkorous@apple.com</a>]
* 660cda572d6e 2020-03-31 | [Analyzer][WebKit] NoUncountedMembersChecker
[<a href="mailto:jkorous@apple.com">jkorous@apple.com</a>]
ch[09:25][repo/ch/llvm]$ cat reduced.c
struct {};
ch[09:25][repo/ch/llvm]$ ./build-debug/bin/clang-tidy
-checks=-*,clang-analyzer-webkit.WebKitNoUncountedMemberChecker reduced.c
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "reduced.c"
No compilation database found in /repo/ch/llvm or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or
directory
json-compilation-database: Error while opening JSON database: No such file or
directory
Running without flags.
clang-tidy:
/repo/ch/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp:147:
bool clang::isRefCounted(const clang::CXXRecordDecl*): Assertion `R' failed.
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
0. Program arguments: ./build-debug/bin/clang-tidy
-checks=-*,clang-analyzer-webkit.WebKitNoUncountedMemberChecker reduced.c
1. <eof> parser at end of file
Aborted</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>