]> granicus.if.org Git - clang/commitdiff
[NFC] typo
authorJF Bastien <jfbastien@apple.com>
Tue, 30 Apr 2019 00:11:53 +0000 (00:11 +0000)
committerJF Bastien <jfbastien@apple.com>
Tue, 30 Apr 2019 00:11:53 +0000 (00:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359523 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp

index 5832c290f6b87f722ecf0be64b3536ad19e3f3ab..33f222c2e5e85107806a5b0973e72483327def4b 100644 (file)
@@ -2701,7 +2701,7 @@ public:
   /// otherwise returns null.
   const ObjCInterfaceDecl *getObjContainingInterface(const NamedDecl *ND) const;
 
-  /// Set the copy inialization expression of a block var decl. \p CanThrow
+  /// Set the copy initialization expression of a block var decl. \p CanThrow
   /// indicates whether the copy expression can throw or not.
   void setBlockVarCopyInit(const VarDecl* VD, Expr *CopyExpr, bool CanThrow);
 
index 364d3b819770288ea23042f1de954fa2f11f35de..ef0244ace08f6d6a13c2cf47abefb95593a57ad4 100644 (file)
@@ -2580,7 +2580,7 @@ ASTContext::getBlockVarCopyInit(const VarDecl*VD) const {
   return {nullptr, false};
 }
 
-/// Set the copy inialization expression of a block var decl.
+/// Set the copy initialization expression of a block var decl.
 void ASTContext::setBlockVarCopyInit(const VarDecl*VD, Expr *CopyExpr,
                                      bool CanThrow) {
   assert(VD && CopyExpr && "Passed null params");