[08/11] ir: Fix comment for translation_unit::get_global_scope

Message ID 20240814125649.47119-8-dodji@redhat.com
State New
Headers
Series [01/11] Use smart pointers for variables exported from the ABI corpus |

Commit Message

Dodji Seketeli Aug. 14, 2024, 12:56 p.m. UTC
  From: Dodji Seketeli <dodji@redhat.com>

	* src/abg-ir.cc (translation_unit::get_global_scope): Fix comment.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
 src/abg-ir.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

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<translation_unit*>(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()
 {