From: Nico Weber Date: Fri, 10 Jun 2016 18:53:04 +0000 (+0000) Subject: Remove a few gendered pronouns. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d3963456d9a9037861098705b944b7284a31906;p=clang Remove a few gendered pronouns. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272415 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp index 3e0c67d792..c01cdac0bb 100644 --- a/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/lib/CodeGen/CGOpenMPRuntime.cpp @@ -5271,7 +5271,7 @@ private: .getPointer(); // If the variable is a pointer and is being dereferenced (i.e. is not - // the last component), the base has to be the pointer itself, not his + // the last component), the base has to be the pointer itself, not its // reference. if (I->getAssociatedDeclaration()->getType()->isAnyPointerType() && std::next(I) != CE) { diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index e99876b10b..b3846157ff 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -4534,10 +4534,9 @@ static void handleObjCRuntimeName(Sema &S, Decl *D, Attr.getAttributeSpellingListIndex())); } -// when a user wants to use objc_boxable with a union or struct -// but she doesn't have access to the declaration (legacy/third-party code) -// then she can 'enable' this feature via trick with a typedef -// e.g.: +// When a user wants to use objc_boxable with a union or struct +// but they don't have access to the declaration (legacy/third-party code) +// then they can 'enable' this feature with a typedef: // typedef struct __attribute((objc_boxable)) legacy_struct legacy_struct; static void handleObjCBoxable(Sema &S, Decl *D, const AttributeList &Attr) { bool notify = false; diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp index 36d0f34531..00d5651b14 100644 --- a/lib/Sema/SemaDeclCXX.cpp +++ b/lib/Sema/SemaDeclCXX.cpp @@ -471,7 +471,7 @@ bool Sema::MergeCXXFunctionDecl(FunctionDecl *New, FunctionDecl *Old, continue; } - // We found our guy. + // We found the right previous declaration. break; } diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index 4b1be6483c..2e19f23391 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/lib/Sema/SemaExprCXX.cpp @@ -5950,7 +5950,7 @@ static bool CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base, if (const PointerType *Ptr = ObjectType->getAs()) { ObjectType = Ptr->getPointeeType(); } else if (!Base->isTypeDependent()) { - // The user wrote "p->" when she probably meant "p."; fix it. + // The user wrote "p->" when they probably meant "p."; fix it. S.Diag(OpLoc, diag::err_typecheck_member_reference_suggestion) << ObjectType << true << FixItHint::CreateReplacement(OpLoc, "."); diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index a35069d564..95c25de7aa 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -7276,7 +7276,7 @@ bool InitializationSequence::Diagnose(Sema &S, isa(S.CurContext)) { // This is implicit default initialization of a member or // base within a constructor. If no viable function was - // found, notify the user that she needs to explicitly + // found, notify the user that they need to explicitly // initialize this base/member. CXXConstructorDecl *Constructor = cast(S.CurContext);