[cfe-commits] pr12328 PATCH: Friend method declaration doesn't require method to be visible
stpworld at narod.ru
Sat Apr 7 08:32:57 PDT 2012
Please find patch in attachment for review.
I suppose that this check was not implemented yet, since I couldn't
found it anywhere. The friend method availability check was inserted in
I also added "DeclContext *FromContext" to the AccessedEntity class. It
allows to ask DelayedDiagnostic to use context that was "current" when
this diagnostics was requested. It is usefull in our case, since we
requested diagnostics when we're parsing class with "friend"
declaration, but diagnostics is invoked for class with definition of
friend member itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5397 bytes
Desc: not available
More information about the cfe-commits