Skip to content
Snippets Groups Projects
  • Joseph Myers's avatar
    85498824
    c-common.c (c_common_truthvalue_conversion): Adjust comment. · 85498824
    Joseph Myers authored
    	* c-common.c (c_common_truthvalue_conversion): Adjust comment.
    	Call c_common_truthvalue_conversion rather than
    	lang_hooks.truthvalue_conversion.
    	* c-convert.c (convert): Call c_objc_common_truthvalue_conversion.
    	* c-objc-common.c (c_objc_common_truthvalue_conversion): Move to
    	c-typeck.c.
    	* c-objc-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Change to
    	c_common_truthvalue_conversion.
    	* c-parser.c (c_parser_paren_condition, c_parser_for_statement,
    	c_parser_conditional_expression, c_parser_binary_expression): Call
    	c_objc_common_truthvalue_conversion.
    	* c-typeck.c (build_unary_op): Call
    	c_objc_common_truthvalue_conversion.
    	(build_conditional_expr): Do not call
    	lang_hooks.truthvalue_conversion.
    	(build_binary_op): Call c_common_truthvalue_conversion.
    	(c_objc_common_truthvalue_conversion): Moved from
    	c-objc-common.c.  Call default_function_array_conversion instead
    	of default_conversion.
    
    objc:
    	* objc-act.c (next_sjlj_build_enter_and_setjmp,
    	next_sjlj_build_catch_list, next_sjlj_build_try_catch_finally):
    	Call c_common_truthvalue_conversion.
    
    From-SVN: r96917
    85498824
    History
    c-common.c (c_common_truthvalue_conversion): Adjust comment.
    Joseph Myers authored
    	* c-common.c (c_common_truthvalue_conversion): Adjust comment.
    	Call c_common_truthvalue_conversion rather than
    	lang_hooks.truthvalue_conversion.
    	* c-convert.c (convert): Call c_objc_common_truthvalue_conversion.
    	* c-objc-common.c (c_objc_common_truthvalue_conversion): Move to
    	c-typeck.c.
    	* c-objc-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Change to
    	c_common_truthvalue_conversion.
    	* c-parser.c (c_parser_paren_condition, c_parser_for_statement,
    	c_parser_conditional_expression, c_parser_binary_expression): Call
    	c_objc_common_truthvalue_conversion.
    	* c-typeck.c (build_unary_op): Call
    	c_objc_common_truthvalue_conversion.
    	(build_conditional_expr): Do not call
    	lang_hooks.truthvalue_conversion.
    	(build_binary_op): Call c_common_truthvalue_conversion.
    	(c_objc_common_truthvalue_conversion): Moved from
    	c-objc-common.c.  Call default_function_array_conversion instead
    	of default_conversion.
    
    objc:
    	* objc-act.c (next_sjlj_build_enter_and_setjmp,
    	next_sjlj_build_catch_list, next_sjlj_build_try_catch_finally):
    	Call c_common_truthvalue_conversion.
    
    From-SVN: r96917