re PR c++/47791 (finish function is using literal value instead of a #defined one)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 6 Oct 2017 16:26:00 +0000 (16:26 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 6 Oct 2017 16:26:00 +0000 (16:26 +0000)
commit90e3c064aa9d5812f597ee1865ec169bd86436cc
tree68c98db55f431935c3f79a99bcab0a4451954666
parent9db84ecedae899c04ac693d970120a065c58350e
re PR c++/47791 (finish function is using literal value instead of a #defined one)

2017-10-06  Paolo Carlini  <paolo.carlini@oracle>

PR c++/47791
* decl.c (finish_function): Take a bool intead of an int; adjust.
* cp-tree.h (finish_function): Adjust declaration.
* decl2.c (generate_tls_wrapper, finish_objects,
finish_static_storage_duration_function): Adjust calls.
* lambda.c (maybe_add_lambda_conv_op, finish_lambda_function):
Likewise.
* method.c (synthesize_method): Likewise.
* optimize.c (maybe_thunk_body, maybe_clone_body): Likewise.
* pt.c (instantiate_decl): Likewise.
* parser.c (cp_parser_function_definition_after_declarator,
cp_parser_late_parsing_for_member, cp_parser_omp_declare_reduction):
Likewise.
(cp_parser_ctor_initializer_opt,
cp_parser_ctor_initializer_opt_and_function_body,
cp_parser_function_try_block,
cp_parser_function_definition_after_declarator,
cp_parser_function_transaction): Return void; adjust declarations.

From-SVN: r253497
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/lambda.c
gcc/cp/method.c
gcc/cp/optimize.c
gcc/cp/parser.c
gcc/cp/pt.c