[LLVMbugs] [Bug 9229] New: We now classify this use of friend as invalid
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 15 12:54:44 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9229
Summary: We now classify this use of friend as invalid
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
After 125485 we reject
class LIns {
void staticSanityCheck();
};
class LInsOp2 {
private:
friend class LIns;
LIns ins;
};
void LIns::staticSanityCheck() {
void nano_static_assert(int arg[__builtin_offsetof(LInsOp2, ins)]);
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list