summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-common.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2011-05-23 14:20:49 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2011-05-23 14:20:49 +0000
commitdde0506718248469bac2d469f9fd34fd0ef6d2d7 (patch)
treeb9bfe00973240a820a89bed01fbb2ba41bc453ca /gcc/c-family/c-common.h
parent094f6ab3d5aa9753f5fc0c36a8cdfef4c2938140 (diff)
downloadgcc-dde0506718248469bac2d469f9fd34fd0ef6d2d7.tar.gz
don't use TYPE_ARG_TYPES when calling c-family:check_function_arguments
don't use TYPE_ARG_TYPES when calling c-family:check_function_arguments gcc/ * c-typeck.c (build_function_call_vec): Tweak call to check_function_arguments. gcc/c-family/ * c-common.h (check_function_arguments): Tweak prototype of check_function_arguments. * c-common.c (check_function_arguments): Likewise. Adjust calls to check_function_nonnull, check_function_format, and check_function_sentinel. (check_function_sentinel): Take a FUNCTION_TYPE rather than separate attributes and typelist arguments. Use FOREACH_FUNCTION_ARGS to iterate over argument types. gcc/cp/ * call.c (build_over_call): Tweak call to check_function_arguments. * typeck.c (cp_build_function_call_vec): Likewise. From-SVN: r174067
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r--gcc/c-family/c-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index 7136b017dcb..89d4b80bded 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -687,7 +687,7 @@ extern void finish_fname_decls (void);
extern const char *fname_as_string (int);
extern tree fname_decl (location_t, unsigned, tree);
-extern void check_function_arguments (tree, int, tree *, tree);
+extern void check_function_arguments (const_tree, int, tree *);
extern void check_function_arguments_recurse (void (*)
(void *, tree,
unsigned HOST_WIDE_INT),