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

lib/Sema/Sema.cpp

index d09658060b095936b94447ebd58f61ac36327c84..0eb967a641b3be88df1d1825051d30c907872fde 100644 (file)
@@ -1629,7 +1629,7 @@ void Sema::RecordParsingTemplateParameterDepth(unsigned Depth) {
 }
 
 // Check that the type of the VarDecl has an accessible copy constructor and
-// resolve its destructor's exception spefication.
+// resolve its destructor's exception specification.
 static void checkEscapingByref(VarDecl *VD, Sema &S) {
   QualType T = VD->getType();
   EnterExpressionEvaluationContext scope(
@@ -1646,7 +1646,7 @@ static void checkEscapingByref(VarDecl *VD, Sema &S) {
     S.Context.setBlockVarCopyInit(VD, Init, S.canThrow(Init));
   }
 
-  // The destructor's exception spefication is needed when IRGen generates
+  // The destructor's exception specification is needed when IRGen generates
   // block copy/destroy functions. Resolve it here.
   if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
     if (CXXDestructorDecl *DD = RD->getDestructor()) {