From patchwork Thu Sep 26 20:35:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1989925 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=XZCwFGyL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XF54V5nnyz1xtG for ; Fri, 27 Sep 2024 06:37:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A2F773858C50 for ; Thu, 26 Sep 2024 20:37:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 7EEAD385841D for ; Thu, 26 Sep 2024 20:35:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7EEAD385841D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7EEAD385841D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727382961; cv=none; b=fre8YO0Fl78xlovwywRStEPLDvyhSejHl6k5xt6VrjhX0CpkkV0es3mNbdSZ3DBuyWEBK9AP7Xw3MZLfVO3iKeG8OYSu9baoo+brAsG8KwA8IDPsIhih9CtXw99FjhDBaIV7kYD+2xarXBnpb3t1nYsjciU3eRe1vEIz19xbcRU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727382961; c=relaxed/simple; bh=IWcCN7ndF9/YgD3Ms6x29qpyZGcO7FwRjrtRRe7BTZ8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Tc3MJY37SsYTu93QRTS4VJ3n4xb8/YjFhV21tU1rygX3uh5sDYgsw2jEAc8Sw7SK7nijjFlBgzJCarrL4LZjPPy8rwhxSU44WXbiRhq6soQrfCuATXFbzkjm5sn3P9lh68LXlTA4GbtjBu8MwgmtSLrk1DVMOYPDNEBdV6YmRLc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727382959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Rczci0ORyfmX9KK9kQfrtnNQUzDzv84cQqx7RaBBdfc=; b=XZCwFGyLzI+VawBdW2GcISX3pI5AcyoqR827KOlLnonV1Q8hMvrScn8xQCg/YUUUVktPex LrzJ7jnEubZheJkRVX6ttPFBPrZLVdTwx75/3FddQA1sw4djxCKs7RSuchuCWhSRa5ftBU deHy2xp98Rah/2+fabD3wlBb3zbeCtg= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-683-ZinYA_FpOW2qVGoFFJkVlQ-1; Thu, 26 Sep 2024 16:35:55 -0400 X-MC-Unique: ZinYA_FpOW2qVGoFFJkVlQ-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (unknown [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D993D1937265; Thu, 26 Sep 2024 20:35:54 +0000 (UTC) Received: from localhost (unknown [10.42.28.136]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 13DE91955DC7; Thu, 26 Sep 2024 20:35:52 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Fix comments in tests that mention basic_filebuf Date: Thu, 26 Sep 2024 21:35:36 +0100 Message-ID: <20240926203551.2068541-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_LINEPADDING, KAM_SHORT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=unavailable 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Tested x86_64-linux. Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * testsuite/27_io/basic_istringstream/cons/2020.cc: Fix comment referring to basic_filebuf. * testsuite/27_io/basic_istringstream/requirements/base_classes.cc: Likewise. * testsuite/27_io/basic_ostringstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_ostringstream/requirements/base_classes.cc: Likewise. * testsuite/27_io/basic_stringbuf/cons/2020.cc: Likewise. * testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc: Likewise. * testsuite/27_io/basic_stringstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_stringstream/requirements/base_classes.cc: Likewise. --- .../testsuite/27_io/basic_istringstream/cons/2020.cc | 6 +++--- .../basic_istringstream/requirements/base_classes.cc | 2 +- .../testsuite/27_io/basic_ostringstream/cons/2020.cc | 6 +++--- .../basic_ostringstream/requirements/base_classes.cc | 2 +- .../testsuite/27_io/basic_stringbuf/cons/2020.cc | 4 ++-- .../requirements/explicit_instantiation/2.cc | 12 ++---------- .../requirements/explicit_instantiation/4.cc | 2 +- .../testsuite/27_io/basic_stringstream/cons/2020.cc | 6 +++--- .../basic_stringstream/requirements/base_classes.cc | 2 +- 9 files changed, 17 insertions(+), 25 deletions(-) diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc index 7b475abe1e0..dc2c5f0be73 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc @@ -1,4 +1,4 @@ -// 1999-01-17 bkoz test functionality of basic_filebuf for char_type == char +// 1999-01-17 bkoz test functionality of basic_istringstream for char_type == char // Copyright (C) 1997-2024 Free Software Foundation, Inc. // @@ -17,8 +17,8 @@ // with this library; see the file COPYING3. If not see // . -// 27.8.1.1 - Template class basic_filebuf -// NB: This file is for testing basic_filebuf with NO OTHER INCLUDES. +// 27.8.1.1 - Template class basic_istringstream +// NB: This file is for testing basic_istringstream with NO OTHER INCLUDES. #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/requirements/base_classes.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/requirements/base_classes.cc index c9ccf66f7a1..03778a43757 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/requirements/base_classes.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/requirements/base_classes.cc @@ -18,7 +18,7 @@ // with this library; see the file COPYING3. If not see // . -// 27.8.1.1 - Template class basic_filebuf +// 27.8.1.1 - Template class basic_istringstream #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc index 95e89a9d08e..5a398af30d9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc @@ -1,4 +1,4 @@ -// 1999-01-17 bkoz test functionality of basic_filebuf for char_type == char +// 1999-01-17 bkoz test functionality of basic_ostringstream for char_type == char // Copyright (C) 1997-2024 Free Software Foundation, Inc. // @@ -17,8 +17,8 @@ // with this library; see the file COPYING3. If not see // . -// 27.8.1.1 - Template class basic_filebuf -// NB: This file is for testing basic_filebuf with NO OTHER INCLUDES. +// 27.8.1.1 - Template class basic_ostringstream +// NB: This file is for testing basic_ostringstream with NO OTHER INCLUDES. #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/requirements/base_classes.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/requirements/base_classes.cc index 07b58727563..58a78a2d44b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/requirements/base_classes.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/requirements/base_classes.cc @@ -18,7 +18,7 @@ // with this library; see the file COPYING3. If not see // . -// 27.8.1.1 - Template class basic_filebuf +// 27.8.1.1 - Template class basic_ostringstream #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc index 0e23fd8b40f..17b19578cd4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc @@ -1,4 +1,4 @@ -// 1999-01-17 bkoz test functionality of basic_filebuf for char_type == char +// 1999-01-17 bkoz test functionality of basic_stringbuf for char_type == char // Copyright (C) 1997-2024 Free Software Foundation, Inc. // @@ -18,7 +18,7 @@ // . // 27.7.1 - Template class basic_stringbuf -// NB: This file is for testing basic_filebuf with NO OTHER INCLUDES. +// NB: This file is for testing basic_stringbuf with NO OTHER INCLUDES. #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc index 046b9ab0ebf..0695a4d3ad4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc @@ -1,5 +1,5 @@ // { dg-do compile } -// 1999-01-17 bkoz test functionality of basic_filebuf for char_type == char +// 1999-01-17 bkoz test functionality of basic_stringbuf for char_type == char // Copyright (C) 1997-2024 Free Software Foundation, Inc. // @@ -19,7 +19,7 @@ // . // 27.7.1 - Template class basic_stringbuf -// NB: This file is for testing basic_filebuf with NO OTHER INCLUDES. +// NB: This file is for testing basic_stringbuf with NO OTHER INCLUDES. #include #include @@ -38,11 +38,3 @@ namespace std // more surf!!! - - - - - - - - diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc index 4c8d763caa5..38268eeaf7f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc @@ -19,7 +19,7 @@ // . // 27.7.1 - Template class basic_stringbuf -// NB: This file is for testing basic_filebuf with NO OTHER INCLUDES. +// NB: This file is for testing basic_stringbuf with NO OTHER INCLUDES. #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc index eca80dcc555..cd24e8a80ea 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc @@ -1,4 +1,4 @@ -// 1999-01-17 bkoz test functionality of basic_filebuf for char_type == char +// 1999-01-17 bkoz test functionality of basic_stringstream for char_type == char // Copyright (C) 1997-2024 Free Software Foundation, Inc. // @@ -17,8 +17,8 @@ // with this library; see the file COPYING3. If not see // . -// 27.8.1.1 - Template class basic_filebuf -// NB: This file is for testing basic_filebuf with NO OTHER INCLUDES. +// 27.8.1.1 - Template class basic_stringstream +// NB: This file is for testing basic_stringstream with NO OTHER INCLUDES. #include #include diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/requirements/base_classes.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/requirements/base_classes.cc index 8cdc9010f4c..5ad30513c9e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/requirements/base_classes.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/requirements/base_classes.cc @@ -18,7 +18,7 @@ // with this library; see the file COPYING3. If not see // . -// 27.8.1.1 - Template class basic_filebuf +// 27.8.1.1 - Template class basic_stringstream #include #include