From 4c7a3ed7fb0d37f85d902da3b95438b315f1a3a4 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 15 Nov 2016 18:28:07 +0000 Subject: [PATCH] Fixed spelling in comments. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286996 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclObjC.h | 2 +- include/clang/Basic/TargetInfo.h | 2 +- lib/Sema/SemaExprCXX.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index ad9b5a26b7..5f1207d55e 100644 --- a/include/clang/AST/DeclObjC.h +++ b/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/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h index d231882e97..b6b9aea690 100644 --- a/include/clang/Basic/TargetInfo.h +++ b/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/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index a87d5efaf0..3392d10218 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/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 || -- 2.40.0