diff options
author | Ziemowit Laski <zlaski@apple.com> | 2005-05-24 22:24:38 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2005-05-24 22:24:38 +0000 |
commit | 58393038d74a065fe2dd2980cf2e3e344f4f261b (patch) | |
tree | dcf9d3d9c6e1b321845950ca9b3634cdd447bcba /gcc/c-common.h | |
parent | 660845bf3a71cab364902d2e3b0830f08572d8f4 (diff) | |
download | gcc-58393038d74a065fe2dd2980cf2e3e344f4f261b.zip gcc-58393038d74a065fe2dd2980cf2e3e344f4f261b.tar.gz gcc-58393038d74a065fe2dd2980cf2e3e344f4f261b.tar.bz2 |
c-common.h (objc_comptypes): Remove prototype.
* c-common.h (objc_comptypes): Remove prototype.
(objc_compare_types): New prototype.
(objc_volatilized_decl): Likewise.
(objc_type_quals_match): Likewise.
* c-decl.c (objc_mark_locals_volatile): Streamline by calling
objc_volatilize_decl().
* c-typeck.c (comp_target_types): Remove third parameter; do
not call objc_comptypes().
(comptypes): Remove calls to objc_comptypes().
(build_function_call): Extend compatible prototype check to ObjC.
(build_conditional_expr): Adjust call to comp_target_types().
(convert_for_assignment): Call objc_compare_types() instead of
objc_comptypes(); adjust calls to comp_target_types(); call
objc_type_quals_match() before issuing qualifier mismatch
warnings.
(build_binary_op): Call objc_compare_types() before issuing
pointer mismatch warnings; adjust calls to
comp_target_types().
* stub-objc.c (objc_comptypes): Remove stub.
(objc_compare_types): New stub.
(objc_volatilized_decl): Likewise.
(objc_type_quals_match): Likewise.
From-SVN: r100126
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 962f157..4b860e2 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -877,7 +877,9 @@ extern tree objc_is_class_name (tree); extern tree objc_is_object_ptr (tree); extern void objc_check_decl (tree); extern int objc_is_reserved_word (tree); -extern int objc_comptypes (tree, tree, int); +extern bool objc_compare_types (tree, tree, int, tree); +extern void objc_volatilize_decl (tree); +extern bool objc_type_quals_match (tree, tree); extern tree objc_rewrite_function_call (tree, tree); extern tree objc_message_selector (void); extern tree objc_lookup_ivar (tree, tree); |