From: Charles Li Date: Wed, 26 Aug 2015 22:13:30 +0000 (+0000) Subject: Corrected 3 typos. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cfa89913ded5f113293d0a4cf7a5284b0c31571;p=clang Corrected 3 typos. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246093 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index 1f4ed4647e..e0e6708c42 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -1269,7 +1269,7 @@ Optional> Type::getObjCSubstitutions( if (!dcTypeParams) return None; } else { - // If we are in neither a class mor a category, there's no + // If we are in neither a class nor a category, there's no // substitution to perform. dcCategoryDecl = dyn_cast(dc); if (!dcCategoryDecl) @@ -2254,7 +2254,7 @@ bool QualType::isCXX11PODType(ASTContext &Context) const { // a standard-layout class, and has no non-static data members of type // non-POD struct, non-POD union (or array of such types). [...] // - // We don't directly query the recursive aspect as the requiremets for + // We don't directly query the recursive aspect as the requirements for // both standard-layout classes and trivial classes apply recursively // already. } @@ -3517,7 +3517,7 @@ bool Type::isObjCARCImplicitlyUnretainedType() const { if (const ObjCObjectPointerType *opt = dyn_cast(canon)) { - // Class and Class don't require retension. + // Class and Class don't require retention. if (opt->getObjectType()->isObjCClass()) return true; }