[LLVMbugs] [Bug 20015] New: clang fails to access check formation of pointers to members in an overload set
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 12 11:19:25 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20015
Bug ID: 20015
Summary: clang fails to access check formation of pointers to
members in an overload set
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: rnk at google.com
CC: jmuizelaar at mozilla.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Consider the test case from PR2007:
class A {
void UpdateStyleSheetInternal();
void UpdateStyleSheetInternal(int);
};
class HTMLLinkElement : public A {};
void fn1() {
void (HTMLLinkElement::*a)() = &HTMLLinkElement::UpdateStyleSheetInternal;
}
MSVC and gcc reject this, but Clang accepts after fixing PR2007.
--
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/20140612/538a6247/attachment.html>
More information about the llvm-bugs
mailing list