https://bugs.llvm.org/show_bug.cgi?id=45919
Bug ID: 45919
Summary: Different AST exposed for functions tagged with
__stdcall.
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: libclang
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected],
[email protected]
Depends on: 39705
See https://github.com/rust-lang/rust-bindgen/issues/1778.
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.
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=39705
[Bug 39705] Multiline doc comments in enums are copied to following variants
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs