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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs