From: Simon Pilgrim Date: Tue, 15 Nov 2016 18:28:07 +0000 (+0000) Subject: Fixed spelling in comments. NFCI. X-Git-Tag: llvmorg-4.0.0-rc1~4521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b17efcbcc560859636c8e28c0388f750a73f1918;p=platform%2Fupstream%2Fllvm.git Fixed spelling in comments. NFCI. llvm-svn: 286996 --- diff --git a/clang/include/clang/AST/DeclObjC.h b/clang/include/clang/AST/DeclObjC.h index ad9b5a2..5f1207d 100644 --- a/clang/include/clang/AST/DeclObjC.h +++ b/clang/include/clang/AST/DeclObjC.h @@ -394,7 +394,7 @@ public: /// createImplicitParams - Used to lazily create the self and cmd /// implict parameters. This must be called prior to using getSelfDecl() - /// or getCmdDecl(). The call is ignored if the implicit paramters + /// or getCmdDecl(). The call is ignored if the implicit parameters /// have already been created. void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID); diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h index d231882..b6b9aea 100644 --- a/clang/include/clang/Basic/TargetInfo.h +++ b/clang/include/clang/Basic/TargetInfo.h @@ -989,7 +989,7 @@ public: return false; } - /// \brief Whether target allows to overalign ABI-specified prefered alignment + /// \brief Whether target allows to overalign ABI-specified preferred alignment virtual bool allowsLargerPreferedTypeAlignment() const { return true; } /// \brief Set supported OpenCL extensions and optional core features. diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index a87d5ef..3392d10 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -1150,7 +1150,7 @@ bool Sema::CheckCXXThisCapture(SourceLocation Loc, const bool Explicit, // In the loop below, respect the ByCopy flag only for the closure requesting // the capture (i.e. first iteration through the loop below). Ignore it for - // all enclosing closure's upto NumCapturingClosures (since they must be + // all enclosing closure's up to NumCapturingClosures (since they must be // implicitly capturing the *enclosing object* by reference (see loop // above)). assert((!ByCopy ||