From patchwork Wed Jun 17 08:16:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Marie de Rodat X-Patchwork-Id: 1311009 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49myZd6W93z9sRh for ; Wed, 17 Jun 2020 18:16:25 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 36CC9389040F; Wed, 17 Jun 2020 08:16:14 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from rock.gnat.com (rock.gnat.com [IPv6:2620:20:4000:0:a9e:1ff:fe9b:1d1]) by sourceware.org (Postfix) with ESMTP id CB658388F05B for ; Wed, 17 Jun 2020 08:16:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CB658388F05B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=derodat@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 94810117673; Wed, 17 Jun 2020 04:16:10 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VeYh7V2-xsks; Wed, 17 Jun 2020 04:16:10 -0400 (EDT) Received: from tron.gnat.com (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) by rock.gnat.com (Postfix) with ESMTP id 8356311611F; Wed, 17 Jun 2020 04:16:10 -0400 (EDT) Received: by tron.gnat.com (Postfix, from userid 4862) id 8253BA9; Wed, 17 Jun 2020 04:16:10 -0400 (EDT) Date: Wed, 17 Jun 2020 04:16:10 -0400 From: Pierre-Marie de Rodat To: gcc-patches@gcc.gnu.org Subject: [Ada] Fix casing from GNATProve to GNATprove Message-ID: <20200617081610.GA55240@adacore.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, 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: , Cc: Piotr Trojanek Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" The preferred casing is "GNATprove", i.e. "GNAT" in upper-case and "prove" in lower-case. Tested on x86_64-pc-linux-gnu, committed on trunk 2020-06-17 Piotr Trojanek gcc/ada/ * doc/gnat_rm/implementation_defined_pragmas.rst, lib-writ.ads, par-prag.adb, sem_ch12.adb, sem_ch8.adb, sem_prag.adb: Fix casing of GNATprove. * gnat_rm.texi: Regenerate. --- gcc/ada/doc/gnat_rm/implementation_defined_pragmas.rst +++ gcc/ada/doc/gnat_rm/implementation_defined_pragmas.rst @@ -7421,7 +7421,7 @@ Syntax: DETAILS ::= static_string_EXPRESSION DETAILS ::= On | Off, static_string_EXPRESSION - TOOL_NAME ::= GNAT | GNATProve + TOOL_NAME ::= GNAT | GNATprove REASON ::= Reason => STRING_LITERAL {& STRING_LITERAL} --- gcc/ada/gnat_rm.texi +++ gcc/ada/gnat_rm.texi @@ -21,7 +21,7 @@ @copying @quotation -GNAT Reference Manual , May 05, 2020 +GNAT Reference Manual , May 13, 2020 AdaCore @@ -8902,7 +8902,7 @@ DETAILS ::= On | Off, local_NAME DETAILS ::= static_string_EXPRESSION DETAILS ::= On | Off, static_string_EXPRESSION -TOOL_NAME ::= GNAT | GNATProve +TOOL_NAME ::= GNAT | GNATprove REASON ::= Reason => STRING_LITERAL @{& STRING_LITERAL@} @end example --- gcc/ada/lib-writ.ads +++ gcc/ada/lib-writ.ads @@ -1051,7 +1051,7 @@ package Lib.Writ is procedure Write_ALI (Object : Boolean); -- This procedure writes the library information for the current main unit -- The Object parameter is true if an object file is created, and false - -- otherwise. Note that the pseudo-object file generated in GNATProve mode + -- otherwise. Note that the pseudo-object file generated in GNATprove mode -- does count as an object file from this point of view. -- -- Note: in the case where we are not generating code (-gnatc mode), this --- gcc/ada/par-prag.adb +++ gcc/ada/par-prag.adb @@ -1109,7 +1109,7 @@ begin -- DETAILS ::= static_string_EXPRESSION -- DETAILS ::= On | Off, static_string_EXPRESSION - -- TOOL_NAME ::= GNAT | GNATProve + -- TOOL_NAME ::= GNAT | GNATprove -- REASON ::= Reason => STRING_LITERAL {& STRING_LITERAL} --- gcc/ada/sem_ch12.adb +++ gcc/ada/sem_ch12.adb @@ -1718,7 +1718,7 @@ package body Sem_Ch12 is Assoc_List); -- For a defaulted in_parameter, create an entry in the - -- the list of defaulted actuals, for GNATProve use. Do + -- the list of defaulted actuals, for GNATprove use. Do -- not included these defaults for an instance nested -- within a generic, because the defaults are also used -- in the analysis of the enclosing generic, and only @@ -1928,7 +1928,7 @@ package body Sem_Ch12 is end if; -- If this is a nested generic, preserve default for later - -- instantiations. We do this as well for GNATProve use, + -- instantiations. We do this as well for GNATprove use, -- so that the list of generic associations is complete. if No (Match) and then Box_Present (Formal) then --- gcc/ada/sem_ch8.adb +++ gcc/ada/sem_ch8.adb @@ -7162,10 +7162,10 @@ package body Sem_Ch8 is -- is an array type we may already have a usable subtype for it, so we -- can use it rather than generating a new one, because the bounds -- will be the values of the discriminants and not discriminant refs. - -- This simplifies value tracing in GNATProve. For consistency, both + -- This simplifies value tracing in GNATprove. For consistency, both -- the entity name and the subtype come from the constrained component. - -- This is only used in GNATProve mode: when generating code it may be + -- This is only used in GNATprove mode: when generating code it may be -- necessary to create an itype in the scope of use of the selected -- component, e.g. in the context of a expanded record equality. --- gcc/ada/sem_prag.adb +++ gcc/ada/sem_prag.adb @@ -25258,7 +25258,7 @@ package body Sem_Prag is -- DETAILS ::= static_string_EXPRESSION -- DETAILS ::= On | Off, static_string_EXPRESSION - -- TOOL_NAME ::= GNAT | GNATProve + -- TOOL_NAME ::= GNAT | GNATprove -- REASON ::= Reason => STRING_LITERAL {& STRING_LITERAL}