diff options
| author | Charles Li <charles_li@playstation.sony.com> | 2015-08-26 22:13:30 +0000 |
|---|---|---|
| committer | Charles Li <charles_li@playstation.sony.com> | 2015-08-26 22:13:30 +0000 |
| commit | 2af8f460306a84cbd39507fa347aba7787797cf5 (patch) | |
| tree | a087eeb5b262ad5e6153a3844324e1a2c5673f8d /clang | |
| parent | 45479f627a91a0f3be7274b34e269d5b0cb48a90 (diff) | |
| download | bcm5719-llvm-2af8f460306a84cbd39507fa347aba7787797cf5.tar.gz bcm5719-llvm-2af8f460306a84cbd39507fa347aba7787797cf5.zip | |
Corrected 3 typos. NFC
llvm-svn: 246093
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/AST/Type.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp index 1f4ed4647eb..e0e6708c42e 100644 --- a/clang/lib/AST/Type.cpp +++ b/clang/lib/AST/Type.cpp @@ -1269,7 +1269,7 @@ Optional<ArrayRef<QualType>> 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<ObjCCategoryDecl>(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<ObjCObjectPointerType>(canon)) { - // Class and Class<Protocol> don't require retension. + // Class and Class<Protocol> don't require retention. if (opt->getObjectType()->isObjCClass()) return true; } |

