http://llvm.org/bugs/show_bug.cgi?id=17602
Bug ID: 17602
Summary: missing accessibility check for LHS of
pointer-to-member access
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Clang fails to diagnose an inaccessible base class being accessed via a
pointer-to-member:
struct Base { void Foo() {} };
struct Derived : private Base {};
void f(Derived *p, void (Base::*f)()) { (p->*f)(); }
--
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