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: unassignedclangb...@nondot.org
Reporter: emi...@crisal.io
CC: kli...@google.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk,
unassignedclangb...@nondot.org
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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs