[llvm-bugs] [Bug 34318] New: pretty-printed pointer-to-member-function types include inferred '__attribute__((thiscall))' when targeting MSVC
llvm-bugs at lists.llvm.org
Thu Aug 24 18:59:55 PDT 2017
Bug ID: 34318
Summary: pretty-printed pointer-to-member-function types
include inferred '__attribute__((thiscall))' when
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: llvm-bugs at lists.llvm.org, rnk at google.com
void (A::*f)() = 5;
error: cannot initialize a variable of type 'void (A::*)()
__attribute__((thiscall))' with an rvalue of type 'int'
Note the inferred "__attribute__((thiscall))" is included in the type name. It
should not be; we should be printing the type as written.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs