cp-tree.h (DERIVED_FROM_P): Pass tf_none to lookup_base, not tf_warning_or_error.
2013-07-22 Paolo Carlini <paolo.carlini@oracle.com> * cp-tree.h (DERIVED_FROM_P): Pass tf_none to lookup_base, not tf_warning_or_error. From-SVN: r201145
This commit is contained in:
parent
e7854b6f22
commit
fb4149396a
@ -1,3 +1,8 @@
|
||||
2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* cp-tree.h (DERIVED_FROM_P): Pass tf_none to lookup_base, not
|
||||
tf_warning_or_error.
|
||||
|
||||
2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
|
||||
|
||||
* class.c: Fix typos.
|
||||
|
@ -1320,8 +1320,7 @@ enum languages { lang_c, lang_cplusplus, lang_java };
|
||||
/* Nonzero iff TYPE is derived from PARENT. Ignores accessibility and
|
||||
ambiguity issues. */
|
||||
#define DERIVED_FROM_P(PARENT, TYPE) \
|
||||
(lookup_base ((TYPE), (PARENT), ba_any, NULL, tf_warning_or_error)\
|
||||
!= NULL_TREE)
|
||||
(lookup_base ((TYPE), (PARENT), ba_any, NULL, tf_none) != NULL_TREE)
|
||||
|
||||
/* Gives the visibility specification for a class type. */
|
||||
#define CLASSTYPE_VISIBILITY(TYPE) \
|
||||
|
Loading…
Reference in New Issue
Block a user