Commit fb414939 by Paolo Carlini Committed by Paolo Carlini

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
parent e7854b6f
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> 2013-07-21 Ondřej Bílka <neleai@seznam.cz>
* class.c: Fix typos. * class.c: Fix typos.
......
...@@ -1320,8 +1320,7 @@ enum languages { lang_c, lang_cplusplus, lang_java }; ...@@ -1320,8 +1320,7 @@ enum languages { lang_c, lang_cplusplus, lang_java };
/* Nonzero iff TYPE is derived from PARENT. Ignores accessibility and /* Nonzero iff TYPE is derived from PARENT. Ignores accessibility and
ambiguity issues. */ ambiguity issues. */
#define DERIVED_FROM_P(PARENT, TYPE) \ #define DERIVED_FROM_P(PARENT, TYPE) \
(lookup_base ((TYPE), (PARENT), ba_any, NULL, tf_warning_or_error)\ (lookup_base ((TYPE), (PARENT), ba_any, NULL, tf_none) != NULL_TREE)
!= NULL_TREE)
/* Gives the visibility specification for a class type. */ /* Gives the visibility specification for a class type. */
#define CLASSTYPE_VISIBILITY(TYPE) \ #define CLASSTYPE_VISIBILITY(TYPE) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment