<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/73479>73479</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang llvm-cov marks semicolon, curly braces, leading spaces and function signatures as uncovered
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mallikag1602
</td>
</tr>
</table>
<pre>
I'm trying to use clang coverage to generate coverage information for my C++ project, but it is leading to a few false positives: function signatures, curly braces, command end semicolon etc. are marked as uncovered, when I'd expect them to be not instrumented at all.
My project uses `clang` 17.
Are there any ideas on how to fix this?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUstupTAM_ZqwsXoVAoWyYNGHkGYxH5GHgUzzuEqc2_L3o9B2qpG6AcWyj30eMme7BcSZ3T-x-5dGFtpjmr10zr7KrR24aFQ0x_yLidEDpcOGDShCyQjaybCBjjdMcsNa3TBgkoTfRRvWmLwkGwOsMYE_4JmJJyae4JriH9TExDOoQmAJbAaH0nyukLDiG6zSZYRrzJbsDTPrHmEtQZ-A9XZJJWGuILokd4BKUn--o_cyGMBgIKO3OroYAElfQCYEL9MrGpAZSjjPRVOn3nYMUNkawPcragLa0dd7FEKIBDZkSsVjoDpNIJ27AOMvjD9-fH8fX9SqShnYwE-l2MChHb96HxNW5IQgwwHWoMwQA-zxre5a7TvQbjPrlsbMnZm6STY4tyNv-cDvh6HZ51XrwTyYXgyj4hr5qroHoQcz9f1Di0I3dhZcdG0rRt73kxguiEq147Dqqe9E3yvWc_TSuotzN3-JaWtszgXnsevHqXFSoctnMoT4YCBEDUmaa_-dKltmPXc2U_5GIEsO549onG063k6t87cJP7n1ZXy-1gpU437w-T-7mpLcvBNdayqYWJhYNkt7URcdPRNLXf_5u_sXtuWkmJlYTpZ_AwAA___rzQGk">