From 11b5ca6eb718c8c3c951c776e127092b92888724 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 12 Nov 2019 11:10:13 +0100 Subject: [PATCH] Remove set_default_param_value from documentation. 2019-11-12 Martin Liska * common/common-target.def: Do not mention set_default_param_value and set_param_value. * doc/tm.texi: Likewise. From-SVN: r278088 --- gcc/ChangeLog | 7 +++++++ gcc/common/common-target.def | 6 ++---- gcc/doc/tm.texi | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1be218cbf5c..56f6d7ed043 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-11-12 Martin Liska + + * common/common-target.def: + Do not mention set_default_param_value + and set_param_value. + * doc/tm.texi: Likewise. + 2019-11-12 Martin Liska * common.opt: Remove param_values. diff --git a/gcc/common/common-target.def b/gcc/common/common-target.def index 41b7e704c2e..48096720e44 100644 --- a/gcc/common/common-target.def +++ b/gcc/common/common-target.def @@ -51,15 +51,13 @@ DEFHOOKPOD DEFHOOK (option_default_params, -"Set target-dependent default values for @option{--param} settings, using\ - calls to @code{set_default_param_value}.", +"Set target-dependent default values for @option{--param} settings.", void, (void), hook_void_void) DEFHOOK (option_validate_param, -"Validate target-dependent value for @option{--param} settings, using\ - calls to @code{set_param_value}.", +"Validate target-dependent value for @option{--param} settings.", bool, (int, int), default_option_validate_param) diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index cd9aed9874f..f6bc31bef65 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -759,11 +759,11 @@ Set target-dependent initial values of fields in @var{opts}. @end deftypefn @deftypefn {Common Target Hook} void TARGET_OPTION_DEFAULT_PARAMS (void) -Set target-dependent default values for @option{--param} settings, using calls to @code{set_default_param_value}. +Set target-dependent default values for @option{--param} settings. @end deftypefn @deftypefn {Common Target Hook} bool TARGET_OPTION_VALIDATE_PARAM (int, @var{int}) -Validate target-dependent value for @option{--param} settings, using calls to @code{set_param_value}. +Validate target-dependent value for @option{--param} settings. @end deftypefn @defmac SWITCHABLE_TARGET -- 2.30.2