Commit acd8e2d0 by Nathan Sidwell Committed by Nathan Sidwell

cp-tree.h (comp_except_specs, [...]): Return bool.

	* cp-tree.h (comp_except_specs, compparms, cp_has_mutable_p,
	at_least_as_qualified_p, more_qualified_p): Return bool.
	* typeck.c: ANSIFY function definitions.
	(comp_array_types): Take redeclaration bool parameter.
	(comptypes): Rearrange STRICT handling.
	(at_least_as_qualified_p, more_qualified_p,
	comp_cv_qualification): Cache cv quals.
	(compparms): Rearrange loop.

From-SVN: r68164
parent b82a33d2
2003-06-18 Nathan Sidwell <nathan@codesourcery.com> 2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (comp_except_specs, compparms, cp_has_mutable_p,
at_least_as_qualified_p, more_qualified_p): Return bool.
* typeck.c: ANSIFY function definitions.
(comp_array_types): Take redeclaration bool parameter.
(comptypes): Rearrange STRICT handling.
(at_least_as_qualified_p, more_qualified_p,
comp_cv_qualification): Cache cv quals.
(compparms): Rearrange loop.
2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (COMPARE_RELAXED): Rename to ... * cp-tree.h (COMPARE_RELAXED): Rename to ...
(COMPARE_DERIVED): ... here. Adjust comment. (COMPARE_DERIVED): ... here. Adjust comment.
(resolve_typename_type_in_current_instantiation): Remove. (resolve_typename_type_in_current_instantiation): Remove.
......
...@@ -4239,10 +4239,10 @@ extern tree complete_type_or_diagnostic (tree, tree, int); ...@@ -4239,10 +4239,10 @@ extern tree complete_type_or_diagnostic (tree, tree, int);
extern int type_unknown_p (tree); extern int type_unknown_p (tree);
extern tree commonparms (tree, tree); extern tree commonparms (tree, tree);
extern tree original_type (tree); extern tree original_type (tree);
extern int comp_except_specs (tree, tree, int); extern bool comp_except_specs (tree, tree, bool);
extern bool comptypes (tree, tree, int); extern bool comptypes (tree, tree, int);
extern int comp_target_types (tree, tree, int); extern int comp_target_types (tree, tree, int);
extern int compparms (tree, tree); extern bool compparms (tree, tree);
extern int comp_cv_qualification (tree, tree); extern int comp_cv_qualification (tree, tree);
extern int comp_cv_qual_signature (tree, tree); extern int comp_cv_qual_signature (tree, tree);
extern tree expr_sizeof (tree); extern tree expr_sizeof (tree);
...@@ -4275,9 +4275,9 @@ extern int comp_ptr_ttypes (tree, tree); ...@@ -4275,9 +4275,9 @@ extern int comp_ptr_ttypes (tree, tree);
extern int ptr_reasonably_similar (tree, tree); extern int ptr_reasonably_similar (tree, tree);
extern tree build_ptrmemfunc (tree, tree, int); extern tree build_ptrmemfunc (tree, tree, int);
extern int cp_type_quals (tree); extern int cp_type_quals (tree);
extern int cp_has_mutable_p (tree); extern bool cp_has_mutable_p (tree);
extern int at_least_as_qualified_p (tree, tree); extern bool at_least_as_qualified_p (tree, tree);
extern int more_qualified_p (tree, tree); extern bool more_qualified_p (tree, tree);
extern tree build_ptrmemfunc1 (tree, tree, tree); extern tree build_ptrmemfunc1 (tree, tree, tree);
extern void expand_ptrmemfunc_cst (tree, tree *, tree *); extern void expand_ptrmemfunc_cst (tree, tree *, tree *);
extern tree pfn_from_ptrmemfunc (tree); extern tree pfn_from_ptrmemfunc (tree);
......
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