[LLVMbugs] [Bug 23452] New: [MS ABI] Can't compile member pointer formed from base with virtual inheritance model
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 7 17:01:13 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23452
Bug ID: 23452
Summary: [MS ABI] Can't compile member pointer formed from base
with virtual inheritance model
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
consider:
struct A {
virtual void f();
};
struct B : virtual A {
virtual void f();
};
auto g() { return &B::f; }
this generates:
error: cannot compile this pointer to virtual member function overriding member
function in virtual base class yet
This is distinct from PR15713 because this example is within the bounds of the
C++ standard.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150508/83dde18a/attachment.html>
More information about the llvm-bugs
mailing list