From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from heian.cn.fujitsu.com (mail.cn.fujitsu.com [183.91.158.132]) by sourceware.org (Postfix) with ESMTP id 6DF993858D37 for ; Mon, 17 Aug 2020 02:44:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6DF993858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cn.fujitsu.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=hujiangping@cn.fujitsu.com X-IronPort-AV: E=Sophos;i="5.76,322,1592841600"; d="scan'208";a="98138777" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 17 Aug 2020 10:44:37 +0800 Received: from G08CNEXMBPEKD06.g08.fujitsu.local (unknown [10.167.33.206]) by cn.fujitsu.com (Postfix) with ESMTP id AB1064CE34DD for ; Mon, 17 Aug 2020 10:44:32 +0800 (CST) Received: from G08CNEXCHPEKD05.g08.fujitsu.local (10.167.33.203) by G08CNEXMBPEKD06.g08.fujitsu.local (10.167.33.206) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Aug 2020 10:44:34 +0800 Received: from localhost (10.167.226.140) by G08CNEXCHPEKD05.g08.fujitsu.local (10.167.33.209) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 17 Aug 2020 10:44:35 +0800 From: Hu Jiangping To: Subject: [PATCH] doc: add return type for functions in gimple.texi Date: Mon, 17 Aug 2020 10:44:31 +0800 Message-ID: <20200817024431.2106-1-hujiangping@cn.fujitsu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-yoursite-MailScanner-ID: AB1064CE34DD.A5E0F X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: hujiangping@cn.fujitsu.com X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 02:44:40 -0000 This patch add the return type for some functions in gimple.texi, to make the context unified. OK for trunk? Tested on x86_64. Regards! Hujp --- gcc/doc/gimple.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/doc/gimple.texi b/gcc/doc/gimple.texi index 5e0fc2e0dc5..f01c3083835 100644 --- a/gcc/doc/gimple.texi +++ b/gcc/doc/gimple.texi @@ -831,17 +831,17 @@ expression to a variable. Return true if g is any of the OpenMP codes. @end deftypefn -@deftypefn {GIMPLE function} gimple_debug_begin_stmt_p (gimple g) +@deftypefn {GIMPLE function} bool gimple_debug_begin_stmt_p (gimple g) Return true if g is a @code{GIMPLE_DEBUG} that marks the beginning of a source statement. @end deftypefn -@deftypefn {GIMPLE function} gimple_debug_inline_entry_p (gimple g) +@deftypefn {GIMPLE function} bool gimple_debug_inline_entry_p (gimple g) Return true if g is a @code{GIMPLE_DEBUG} that marks the entry point of an inlined function. @end deftypefn -@deftypefn {GIMPLE function} gimple_debug_nonbind_marker_p (gimple g) +@deftypefn {GIMPLE function} bool gimple_debug_nonbind_marker_p (gimple g) Return true if g is a @code{GIMPLE_DEBUG} that marks a program location, without any variable binding. @end deftypefn -- 2.17.1