r246093 - Corrected 3 typos. NFC

Charles Li via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 15:13:30 PDT 2015


Author: lcharles
Date: Wed Aug 26 17:13:30 2015
New Revision: 246093

URL: http://llvm.org/viewvc/llvm-project?rev=246093&view=rev
Log:
Corrected 3 typos. NFC

Modified:
    cfe/trunk/lib/AST/Type.cpp

Modified: cfe/trunk/lib/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Type.cpp?rev=246093&r1=246092&r2=246093&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Type.cpp (original)
+++ cfe/trunk/lib/AST/Type.cpp Wed Aug 26 17:13:30 2015
@@ -1269,7 +1269,7 @@ Optional<ArrayRef<QualType>> Type::getOb
     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<ObjCCategoryDecl>(dc);
     if (!dcCategoryDecl)
@@ -2254,7 +2254,7 @@ bool QualType::isCXX11PODType(ASTContext
       //   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::isObjCARCImplicitlyUnretained
 
   if (const ObjCObjectPointerType *opt
         = dyn_cast<ObjCObjectPointerType>(canon)) {
-    // Class and Class<Protocol> don't require retension.
+    // Class and Class<Protocol> don't require retention.
     if (opt->getObjectType()->isObjCClass())
       return true;
   }




More information about the cfe-commits mailing list