fix friend bug #1323114
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
eae7ff3723
commit
badf735534
2 changed files with 23 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ int is_member_director(Node* member)
|
|||
}
|
||||
|
||||
|
||||
/* Clean overloaded list. Removes templates, friends, ignored, and errors */
|
||||
/* Clean overloaded list. Removes templates, ignored, and errors */
|
||||
|
||||
void clean_overloaded(Node *n) {
|
||||
Node *nn = Getattr(n,"sym:overloaded");
|
||||
|
|
@ -52,7 +52,6 @@ void clean_overloaded(Node *n) {
|
|||
if ((Strcmp(nodeType(nn),"template") == 0) ||
|
||||
(GetFlag(nn,"feature:ignore")) ||
|
||||
(Getattr(nn,"error")) ||
|
||||
// (checkAttribute(nn,"storage","friend")) ||
|
||||
((Strcmp(nodeType(nn),"using") == 0) && !firstChild(nn))) {
|
||||
/* Remove from overloaded list */
|
||||
Node *ps = Getattr(nn,"sym:previousSibling");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue