https://llvm.org/bugs/show_bug.cgi?id=23450
Bug ID: 23450
Summary: Clang claims one overrider is ambiguous with itself
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
consider:
struct A {
virtual A *f();
};
struct B : virtual A {
virtual B *f();
};
struct C : virtual B {
};
struct D : C, B {} d;
we emit:
error: virtual function 'A::f' has more than one final overrider in 'D'
note: final overrider of 'A::f' in 'B'
note: final overrider of 'A::f' in 'B'
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs