don't use TYPE_ARG_TYPES in c-family/
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 4 May 2011 17:08:04 +0000 (17:08 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Wed, 4 May 2011 17:08:04 +0000 (17:08 +0000)
commite19a18d4e42fcf080cc7c3db2d38d11feade5347
treec5306f59e22f64edb09f5b44e264c21545a366a4
parent7a2f720889eaee0e35a62ccb8e5685f1da944243
don't use TYPE_ARG_TYPES in c-family/

don't use TYPE_ARG_TYPES in c-family/
* c-common.c (check_main_parameter_types): Reindent.  Don't use
TYPE_ARG_TYPES directly.
(handle_nonnull_attribute): Likewise.
(sync_resolve_params): Likewise.
* c-format.c (handle_format_arg_attribute): Likewise.  Adjust call
to check_format_string.
(handle_format_attribute): Likewise.
(check_format_string): Take a function type to examine instead of
a type list.  Use a function_arg_iterator to step through argument
types.

From-SVN: r173384
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-format.c