diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 1f524a3..b66b8d4 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -3661,7 +3661,7 @@ check_field_decls (tree t, tree *access_decls, { /* ARM $12.6.2: [A member initializer list] (or, for an aggregate, initialization by a brace-enclosed list) is the - only way to initialize nonstatic const and reference + only way to initialize non-static const and reference members. */ TYPE_HAS_COMPLEX_COPY_ASSIGN (t) = 1; TYPE_HAS_COMPLEX_MOVE_ASSIGN (t) = 1; @@ -3784,7 +3784,7 @@ check_field_decls (tree t, tree *access_decls, { /* ARM $12.6.2: [A member initializer list] (or, for an aggregate, initialization by a brace-enclosed list) is the - only way to initialize nonstatic const and reference + only way to initialize non-static const and reference members. */ TYPE_HAS_COMPLEX_COPY_ASSIGN (t) = 1; TYPE_HAS_COMPLEX_MOVE_ASSIGN (t) = 1; @@ -3799,7 +3799,7 @@ check_field_decls (tree t, tree *access_decls, | CLASSTYPE_READONLY_FIELDS_NEED_INIT (type)); } - /* Core issue 80: A nonstatic data member is required to have a + /* Core issue 80: A non-static data member is required to have a different name from the class iff the class has a user-declared constructor. */ if (constructor_name_p (DECL_NAME (field), t) @@ -8106,7 +8106,7 @@ resolve_address_of_overloaded_function (tree target_type, member functions match targets of type "pointer-to-member function;" the function type of the pointer to member is used to select the member function from the set of overloaded member - functions. If a nonstatic member function is selected, the + functions. If a non-static member function is selected, the reference to the overloaded function name is required to have the form of a pointer to member as described in 5.3.1. |