Suppress incorrect warning when a keyword is used in template classes
Closes https://github.com/swig/swig/issues/845
This commit is contained in:
parent
e517128e08
commit
e6b270b6dc
5 changed files with 116 additions and 3 deletions
|
|
@ -799,6 +799,8 @@ static int need_name_warning(Node *n) {
|
|||
need = 0;
|
||||
} else if (Getattr(n, "templatetype")) {
|
||||
need = 0;
|
||||
} else if (GetFlag(n, "parsing_template_declaration")) {
|
||||
need = 0;
|
||||
}
|
||||
return need;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue