Don't issue unnecessary base class ignored message
Don't warn about base class being ignored when the derived class is itself ignored. Closes #669
This commit is contained in:
parent
e28b7f1fcf
commit
3efdbc8f2e
4 changed files with 28 additions and 1 deletions
|
|
@ -503,7 +503,8 @@ class TypePass:private Dispatcher {
|
|||
/* Inherit type definitions into the class */
|
||||
if (name && !(GetFlag(n, "nested") && !checkAttribute(n, "access", "public") &&
|
||||
(GetFlag(n, "feature:flatnested") || Language::instance()->nestedClassesSupport() == Language::NCS_None))) {
|
||||
cplus_inherit_types(n, 0, nname ? nname : (fname ? fname : name));
|
||||
if (!GetFlag(n, "feature:ignore"))
|
||||
cplus_inherit_types(n, 0, nname ? nname : (fname ? fname : name));
|
||||
}
|
||||
|
||||
inclass = n;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue