aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-06-18 19:17:04 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-06-18 19:17:04 +0000
commitacd8e2d08fc5128d65776f04d40ba65eaa8dc76d (patch)
treef2158d249b3856f19d727f993197e873d424806d /gcc/cp/cp-tree.h
parentb82a33d2a9dfc943324f34c60e4b231baa236eca (diff)
downloadgcc-acd8e2d08fc5128d65776f04d40ba65eaa8dc76d.zip
gcc-acd8e2d08fc5128d65776f04d40ba65eaa8dc76d.tar.gz
gcc-acd8e2d08fc5128d65776f04d40ba65eaa8dc76d.tar.bz2
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
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 6c4ae0d..23cdee6 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3796,11 +3796,11 @@ extern void cp_warning_at (const char *msgid, ...);
extern void cp_pedwarn_at (const char *msgid, ...);
/* XXX Not i18n clean. */
-#define cp_deprecated(STR) \
- do { \
- if (warn_deprecated) \
- warning ("%s is deprecated, please see the documentation for details", \
- (STR)); \
+#define cp_deprecated(STR) \
+ do { \
+ if (warn_deprecated) \
+ warning ("%s is deprecated, please see the documentation for details", \
+ (STR)); \
} while (0)
/* in error.c */
@@ -4239,10 +4239,10 @@ extern tree complete_type_or_diagnostic (tree, tree, int);
extern int type_unknown_p (tree);
extern tree commonparms (tree, 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 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_qual_signature (tree, tree);
extern tree expr_sizeof (tree);
@@ -4275,9 +4275,9 @@ extern int comp_ptr_ttypes (tree, tree);
extern int ptr_reasonably_similar (tree, tree);
extern tree build_ptrmemfunc (tree, tree, int);
extern int cp_type_quals (tree);
-extern int cp_has_mutable_p (tree);
-extern int at_least_as_qualified_p (tree, tree);
-extern int more_qualified_p (tree, tree);
+extern bool cp_has_mutable_p (tree);
+extern bool at_least_as_qualified_p (tree, tree);
+extern bool more_qualified_p (tree, tree);
extern tree build_ptrmemfunc1 (tree, tree, tree);
extern void expand_ptrmemfunc_cst (tree, tree *, tree *);
extern tree pfn_from_ptrmemfunc (tree);