<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 - Different AST exposed for functions tagged with __stdcall."
href="https://bugs.llvm.org/show_bug.cgi?id=45919">45919</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Different AST exposed for functions tagged with __stdcall.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>libclang
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emilio@crisal.io
</td>
</tr>
<tr>
<th>CC</th>
<td>klimek@google.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk, unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Depends on</th>
<td>39705
</td>
</tr></table>
<p>
<div>
<pre>See <a href="https://github.com/rust-lang/rust-bindgen/issues/1778">https://github.com/rust-lang/rust-bindgen/issues/1778</a>.
For the following function, there's a bunch of CXCursor_ParamDecl:
typedef
void
EVT_VIGEM_X360_NOTIFICATION(
void* Client,
void* Target,
unsigned char LargeMotor,
unsigned char SmallMotor,
unsigned char LedNumber,
void* UserData
);
typedef EVT_VIGEM_X360_NOTIFICATION *PFN_VIGEM_X360_NOTIFICATION;
Now add __stdcall:
typedef
void __stdcall
EVT_VIGEM_X360_NOTIFICATION(
void* Client,
void* Target,
unsigned char LargeMotor,
unsigned char SmallMotor,
unsigned char LedNumber,
void* UserData
);
typedef EVT_VIGEM_X360_NOTIFICATION *PFN_VIGEM_X360_NOTIFICATION;
And they go missing.</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - Multiline doc comments in enums are copied to following variants"
href="https://bugs.llvm.org/show_bug.cgi?id=39705">Bug 39705</a>] Multiline doc comments in enums are copied to following variants
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>