<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 std::function syntax in struct causes segfault"
href="https://bugs.llvm.org/show_bug.cgi?id=42057">42057</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Invalid std::function syntax in struct causes segfault
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>8.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>C++17
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stan.vaessen@prodrive-technologies.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22043" name="attach_22043" title="CodeExample">attachment 22043</a> <a href="attachment.cgi?id=22043&action=edit" title="CodeExample">[details]</a></span>
CodeExample
Having invalid std::function syntax inside a struct causes a segfault in
clang-tidy-8 (See attachments)
-- Version info
clang-tidy-8 --version
LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):
LLVM version 8.0.1
Optimized build.
Default target: x86_64-pc-linux-gnu
Host CPU: skylake-avx512
gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cat /etc/debian_version
9.9
cat /proc/version
Linux version 4.20.17-pd-4.20.y (mdg@lnxdevrm01) (gcc version 6.3.0 20170516
(Debian 6.3.0-18+deb9u1)) #20190430 SMP Tue Apr 30 22:38:36 CEST 2019</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>