From patchwork Sat Jun 10 22:03:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonny Grant X-Patchwork-Id: 106020 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1754253vqr; Sat, 10 Jun 2023 15:04:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q95dOfBg7l9UsBsiM1ICppkzfzXYEsxn7295moiaMlQA3JMOPheSAfuuQdyn8jBlWKqBH X-Received: by 2002:a05:6402:1147:b0:50b:c085:1991 with SMTP id g7-20020a056402114700b0050bc0851991mr1839326edw.19.1686434683264; Sat, 10 Jun 2023 15:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686434683; cv=none; d=google.com; s=arc-20160816; b=Ar1G3NPBpWH/Bh528/HVTJCQKtWz8nYdM/ZyNPoDpQb84GJdg4VP+OQNmCIuW/SBwF VBSsiEZsSbo2ATdwqAG5c2HP5ltneVdJp/rP4FwZDdR6T7CvBDonbpePC0pnQv71pEFk /VhuH4++6rrBlkdbMgblzHv9Xg3biJ+WLviCOztWlXIjuOT1jp7I68WZ3u1dPPOhjtY4 yUnokHR/L/tRsObCNmVBDOj2vOs1D50t3yexHmsWXICLtVx4QD3XvqwTaigOLYiI4AMS ezIL/PisbMYGM1n4ktBTgWk9t9Hj6PTSV1HwsfJ3KaMaBspuWQTvtJryiLLJw3XLDd15 bEZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :subject:from:to:content-language:user-agent:mime-version:date :message-id:dkim-signature:dmarc-filter:delivered-to; bh=3EUcWoPMv4jz6X/wltoJy4V4pn9l44d9kpudX3xXQXw=; b=WS/yzbFt2LDOO2QNefOGskQxpvB8TCsewUF3Z4+zX2QUzjJKUa6FeIwaYmleO0hY/K vUKigHNVfAJ1TQrdJjPqpD5i9zvPhVDbO1kEBm8MRcm92a8HSx/G3UNcsg1vNo/bSQNI 6MNCc3SSA/glGE548uio5GO6oJW8NzWyes9ae9h0LWw9gWr/7goEhO+252xIJMP2q1fN VhU6z76UuyK1EKuVcEPFB8bS1bVbJJp6hbGbabotxgRuoccmtwpqjbc4/1yUSKKFQZAR AcA3BNBla9gPABLvbDTYzCLXYR4agEmHeU+VCTCO/MwHYtJYEjFRV9Bq1yyiVKtwtV7V HwoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jguk.org header.s=google header.b=YjMBGah8; 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" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id x1-20020aa7d6c1000000b005109020515dsi3929929edr.580.2023.06.10.15.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 15:04:43 -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=@jguk.org header.s=google header.b=YjMBGah8; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D65E93856638 for ; Sat, 10 Jun 2023 22:04:08 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 8128B3858D28 for ; Sat, 10 Jun 2023 22:03:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8128B3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=jguk.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jguk.org Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3f78a32266bso30128565e9.3 for ; Sat, 10 Jun 2023 15:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; t=1686434622; x=1689026622; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=3EUcWoPMv4jz6X/wltoJy4V4pn9l44d9kpudX3xXQXw=; b=YjMBGah84LZF+5IsaJtTHUmzKIC2Tk/6Tt0xAYB7nLMYb5/5M0s3jrFlzOZWwGy/i8 PPuoFd5MB34Tnpn0VKQbtZjVBphMAacO93gA7kuQZZDiAaDr4LFmjOlHiDpxTPX9boj+ PtP8aK8f4R8yIAudSMjGXf2CeBzU8Ujuol8LmeCmBEmmhcGUt9gx1vwTQJCMhPYRLp34 thH4qNJHNRQzw0Q07l6eNv11Tmu4Bp74CLJZFB8edyQeP1rsGej3n6geWNXe8m+3ErO1 vGzxBm/t1RTE+caUHbY4rlXy4nfdabYdv7GMErT4fy4VdKCpofaHmJSnWSTCtXkUkC8J du4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686434622; x=1689026622; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=3EUcWoPMv4jz6X/wltoJy4V4pn9l44d9kpudX3xXQXw=; b=GfttY1Tolcty3/tF3qiamyuccFx5tskk/LX7E3hnYchFEpWcG8Y4VJrRzP64Ia6b7w hL8pCDEHezWhfp2xKL+g10Mi3Dg8mmFs+MGDj3j//nQTSV/JdWxSgc8enB4edczUaZ38 TP+kS+DwDlGYSYpG1hIR598zXBiY01VgrhHcKFrNtSv5o464cMd8BhEJtQkRHh8DTsIN l1YABuMbcPSR7NGoPJv4BFm8qsFZDmX0OEgynG9coWaXJm9Yy1SuGKruRdAqKXJ6xLhO ijZQfMZRJT78i62t6jzWxf9gTne4XxeoMLkHDpoNWPOv4hSaxfX6yLT1FEtIijQlYBdg +e9Q== X-Gm-Message-State: AC+VfDz8wfZoMS2uKWRwZ6csQU7xmDv+nXnO6SX57tN50eIE3xSTabio Plokwu6tqrseNNMI5v/usZGa3Q== X-Received: by 2002:a05:600c:2041:b0:3f7:a80a:c66c with SMTP id p1-20020a05600c204100b003f7a80ac66cmr4357658wmg.0.1686434622003; Sat, 10 Jun 2023 15:03:42 -0700 (PDT) Received: from [192.168.0.12] (cpc87345-slou4-2-0-cust172.17-4.cable.virginm.net. [81.101.252.173]) by smtp.gmail.com with ESMTPSA id x17-20020a1c7c11000000b003f809461162sm5068908wmc.16.2023.06.10.15.03.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Jun 2023 15:03:41 -0700 (PDT) Message-ID: Date: Sat, 10 Jun 2023 23:03:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-GB To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org From: Jonny Grant Subject: [PATCH] libstdc++: Clarify manual demangle doc X-Spam-Status: No, score=-12.4 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: , 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?1768354934316157165?= X-GMAIL-MSGID: =?utf-8?q?1768354934316157165?= libstdc++-v3/ChangeLog: * doc/xml/manual/extensions.xml: Remove demangle exception description and include. --- libstdc++-v3/doc/xml/manual/extensions.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/doc/xml/manual/extensions.xml b/libstdc++-v3/doc/xml/manual/extensions.xml index daa98f5cba7..d4fe2f509d4 100644 --- a/libstdc++-v3/doc/xml/manual/extensions.xml +++ b/libstdc++-v3/doc/xml/manual/extensions.xml @@ -514,12 +514,10 @@ get_temporary_buffer(5, (int*)0); you won't notice.) - Probably the only times you'll be interested in demangling at runtime - are when you're seeing typeid strings in RTTI, or when - you're handling the runtime-support exception classes. For example: + Probably the only time you'll be interested in demangling at runtime + is when you're seeing typeid strings in RTTI. For example: -#include <exception> #include <iostream> #include <cstdlib> #include <cxxabi.h>