Patchwork [committed] pt.c: Grammar fix in comments ("it's" to "its").

login
register
mail settings
Submitter Adam Butcher
Date Aug. 12, 2013, 11:31 p.m.
Message ID <1376350331-30041-2-git-send-email-adam@jessamine.co.uk>
Download mbox | patch
Permalink /patch/266663/
State New
Headers show

Comments

Adam Butcher - Aug. 12, 2013, 11:31 p.m.
From: abutcher <abutcher@138bc75d-0d04-0410-961f-82ee72b054a4>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201674 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/cp/ChangeLog | 4 ++++
 gcc/cp/pt.c      | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

Patch

diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a7462af..6dd0cd8 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@ 
+2013-08-13  Adam Butcher  <adam@jessamine.co.uk>
+
+	* pt.c: Grammar fix in comments ("it's" to "its").
+
 2013-08-12  Paolo Carlini  <paolo.carlini@oracle.com>
 
 	* decl.c (warn_extern_redeclared_static, duplicate_decls,
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index d03c1cf..85224fc 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -1986,7 +1986,7 @@  determine_specialization (tree template_id,
 	  tree decl_arg_types;
 
 	  /* This is an ordinary member function.  However, since
-	     we're here, we can assume it's enclosing class is a
+	     we're here, we can assume its enclosing class is a
 	     template class.  For example,
 
 	       template <typename T> struct S { void f(); };
@@ -4337,7 +4337,7 @@  check_default_tmpl_args (tree decl, tree parms, bool is_primary,
 	  || DECL_INITIALIZED_IN_CLASS_P (decl)))
     /* We already checked these parameters when the template was
        declared, so there's no need to do it again now.  This function
-       was defined in class scope, but we're processing it's body now
+       was defined in class scope, but we're processing its body now
        that the class is complete.  */
     return true;
 
@@ -7555,7 +7555,7 @@  lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
 	the one of #0.
 
 	When we encounter #1, we want to store the partial instantiation
-	of M (template<class T> S<int>::M<T>) in it's CLASSTYPE_TI_TEMPLATE.
+	of M (template<class T> S<int>::M<T>) in its CLASSTYPE_TI_TEMPLATE.
 
 	For all cases other than this "explicit specialization of member of a
 	class template", we just want to store the most general template into