From patchwork Wed Aug 14 12:56:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 95819 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4B87B3858C60 for ; Wed, 14 Aug 2024 12:57:21 +0000 (GMT) X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by sourceware.org (Postfix) with ESMTPS id CF7703858417 for ; Wed, 14 Aug 2024 12:56:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF7703858417 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seketeli.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CF7703858417 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4b98:dc4:8::226 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723640215; cv=none; b=Kc/wygRcFQKkOFcfEtefZ0wUxZKOQzlHXVQ06icx1r7q3LgVWivmRmxVuzLmjU4Lvvk+42Ru8cS0rvvihvfh3ZKG2OAMnoZx2nIgl/rb2/dYuIt3pWj/qSUTCl0m6AOaGCCQFkFuejhyofuMZJzFMlQlNArbFq9hwyPBqe+bftQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723640215; c=relaxed/simple; bh=ayvaVSyTggR9NX/a81JmaUP59yyDG0P2hGfE6Aqpgbw=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=qxLDVQBaIITR3hZizy57vixyoEP6VkmBv9Q3yNOdIJm62yA9UxmBJH3zLoRD3qRJUYeZrCuG4U6ZMM9Qwq4Gcxe+YsNmH/zzBgwcfgNPo2zo+iuKFtlvLhPwyxNhi7WDlT9ot8RKDHN78qPLg5p9Kf0EkOoMdz2oJjONt+hNA2Q= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail.gandi.net (Postfix) with ESMTPSA id D855BC0009; Wed, 14 Aug 2024 12:56:50 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 339D6507A630; Wed, 14 Aug 2024 14:56:49 +0200 (CEST) From: dodji@redhat.com To: libabigail@sourceware.org Cc: dodji@redhat.com Subject: [PATCH 08/11] ir: Fix comment for translation_unit::get_global_scope Date: Wed, 14 Aug 2024 14:56:46 +0200 Message-ID: <20240814125649.47119-8-dodji@redhat.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20240814125649.47119-1-dodji@redhat.com> References: <20240814125649.47119-1-dodji@redhat.com> MIME-Version: 1.0 X-GND-Sasl: dodj@seketeli.org X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, 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: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org From: Dodji Seketeli * src/abg-ir.cc (translation_unit::get_global_scope): Fix comment. Signed-off-by: Dodji Seketeli --- src/abg-ir.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/abg-ir.cc b/src/abg-ir.cc index f15d655d..542f9060 100644 --- a/src/abg-ir.cc +++ b/src/abg-ir.cc @@ -1279,11 +1279,11 @@ translation_unit::get_global_scope() const return const_cast(this)->get_global_scope(); } -/// Getter of the the global scope of the translation unit. +/// Getter of the global scope of the translation unit. /// /// @return the global scope of the current translation unit. If -/// there is not global scope allocated yet, this function creates one -/// and returns it. +/// there is not allocated yet, this function creates one and returns +/// it. scope_decl_sptr& translation_unit::get_global_scope() {