From patchwork Tue May 16 08:40:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 94531 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp273600vqo; Tue, 16 May 2023 01:50:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7AXKAaoqclDsZVYHL06gpVKpyxqAJaszshlEGsOnB5bPAZxvUY5blJHN1xLAcxsyLnQOHM X-Received: by 2002:a17:907:7f94:b0:969:e9ec:9a0 with SMTP id qk20-20020a1709077f9400b00969e9ec09a0mr29317550ejc.77.1684227042533; Tue, 16 May 2023 01:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684227042; cv=none; d=google.com; s=arc-20160816; b=IqYEKWLpCD9liYOYk3clABGTurtW/598d+V5G1aHXMTipz7lzWoBdBKxlSxkhExv45 4vm4osdVfFUfildgsMEW3p5cOYDkX31aeHgDyNSiYlYT1/RSR+RPJN5yzSojZAwCdSEt qTMOr3MDVPszJmIUvhz+uc4wW66AOTkQs8q1LMd1wtLX+/Rcslw7msS6QnMzeM5J00/w SFI+tJq2xVpV/d+vcgZJVeiWk5eEuYt2VGIZnojv8X4/hDH8LgJUAm2h9ZtVKC0AaK3i lWuoQklnLhs43INlYgMneK42hBfPV36pvyWMyVGC5au9KDAT2DhmmhdZe3UTKYEz0XsF 9ulw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=DvbhV0xq2YHVX23+GzBSe81D4PCfwGTUa4fPpZb4qN4=; b=auA0RKbzcxWmjdOnjDjVVCz+OiMOgCkE/rVjJ6kYuo/QhY95j+j7ZZ6Yg8tYb/hUWC 07a8epc5Ws93K9vLCt3j/HGWS/OdgukeYAKwXCR9FyVvi60NNG0yUQx/8VQRV7FFWcbI 0/90qB2ITWUXL8e0UC23NjybUXq9vJAM0VccwDlVllOfloZFSeEFmUSyWSXw3+nHvUp9 YYmviMrUm6zO9/6uAdrjs8moVmoKBHlMQ3X6zh24BITRSZ3mkXy3q1zOZQRdPI6wCf2W aTyi/MmvZmEj0p6xuI+slAht+Ld0v8X0Z2OaC9mi5uU1HuoqyYPti4WZ9hyEWUrsf8zf QFRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qfcQ4Wft; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id my18-20020a1709065a5200b00965cb784a27si13946485ejc.699.2023.05.16.01.50.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:50:42 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qfcQ4Wft; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 048653945C31 for ; Tue, 16 May 2023 08:45:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 048653945C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684226709; bh=DvbhV0xq2YHVX23+GzBSe81D4PCfwGTUa4fPpZb4qN4=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=qfcQ4WftYjN4dK+X9+nKT8r96ZzMjMCXukPkMqZhIvQ1HQvUMq1H2TaSI43cg874e mcRzQSJgbHD89DV6aT37ppian8Zc2b6tdWWm3el2HBukm3I9mA4vv92V8DaACEmyA4 jlybCTXSxK2xTUH4dzYrbPbmBTk+TRw/TOLRMSAc= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id B6F0038768AF for ; Tue, 16 May 2023 08:40:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B6F0038768AF Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f4c6c4b425so43230245e9.2 for ; Tue, 16 May 2023 01:40:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684226454; x=1686818454; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DvbhV0xq2YHVX23+GzBSe81D4PCfwGTUa4fPpZb4qN4=; b=S60ZvmeniSBOfPHW80XoL7ave4rvYJlvSacSIIoyAW9d7AyhosSmiKSXFxc/JXnAyt k76Prihkicc/tDP37pkbP97gqUzZfkK/TKjcNZcgDqDqfnhDplrQSllEoDW4XxKReqNh DY0ZsPeBm708+z48/uBoSQnJ9BmGKF/dwpyTFsui6OZEJrioCzftNIp9s+emCt4sQLEh eUZBUQgp1eI5i1c7/FrMe/M4I4c8cALUTpeLPbJfq2bmEVjRdJ/nK7Fp52Mw1+aC01sd FTmYWihPdqkGGOWdyAhRe0T5qVV2ScLECsUvLVwHxyenp6lJIulbbDIwv01VngtNjd4S 7sPQ== X-Gm-Message-State: AC+VfDz6M1PRXXoskBZWgF7RmwRhHl3w9qzXbLcnNNQ9BWnkJ/Eenkr4 2sLljH3ihWRYPfmdHkVOND1dC8NwQ3XQ9IUy/E0VGw== X-Received: by 2002:a5d:65c5:0:b0:306:4550:f651 with SMTP id e5-20020a5d65c5000000b003064550f651mr25092392wrw.4.1684226454461; Tue, 16 May 2023 01:40:54 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id y5-20020adff145000000b0030631a599a0sm1792522wro.24.2023.05.16.01.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 01:40:53 -0700 (PDT) To: gcc-patches@gcc.gnu.org Cc: Ghjuvan Lacambre Subject: [COMMITTED] ada: usage.adb: document -gnatyD switch Date: Tue, 16 May 2023 10:40:52 +0200 Message-Id: <20230516084052.1501867-1-poulhies@adacore.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766040055331451657?= X-GMAIL-MSGID: =?utf-8?q?1766040055331451657?= From: Ghjuvan Lacambre -gnatyD was documented in the user guide but not in `gnat --help-ada`. gcc/ada/ * usage.adb (Usage): Document -gnatyD. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/usage.adb | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb index 4a2fa019013..97cedbb9a2d 100644 --- a/gcc/ada/usage.adb +++ b/gcc/ada/usage.adb @@ -655,6 +655,7 @@ begin Write_Line (" c check comment format (two spaces)"); Write_Line (" C check comment format (one space)"); Write_Line (" d check no DOS line terminators"); + Write_Line (" D check declared identifiers in mixed case"); Write_Line (" e check end/exit labels present"); Write_Line (" f check no form feeds/vertical tabs in source"); Write_Line (" g check standard GNAT style rules, same as ydISux");