]> granicus.if.org Git - clang/commitdiff
Fixed spelling in comments. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 15 Nov 2016 18:28:07 +0000 (18:28 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 15 Nov 2016 18:28:07 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286996 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclObjC.h
include/clang/Basic/TargetInfo.h
lib/Sema/SemaExprCXX.cpp

index ad9b5a26b7c867a2bb2741042f2c449f8031f7ba..5f1207d55e1513df66b3429b88f94c870886e96b 100644 (file)
@@ -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);
 
index d231882e976c85b975bdcb3bee8f67fa421afca9..b6b9aea690d1082e10127a21157cefbd60744f7d 100644 (file)
@@ -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.
index a87d5efaf080f5b9f65e56b34ae5c5e3e3f693e5..3392d1021844c16ebe7dbb8b7e84bec413900059 100644 (file)
@@ -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 ||