r359524 - [NFC] typo
JF Bastien via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 17:19:43 PDT 2019
Author: jfb
Date: Mon Apr 29 17:19:43 2019
New Revision: 359524
URL: http://llvm.org/viewvc/llvm-project?rev=359524&view=rev
Log:
[NFC] typo
Modified:
cfe/trunk/lib/Sema/Sema.cpp
Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=359524&r1=359523&r2=359524&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Mon Apr 29 17:19:43 2019
@@ -1629,7 +1629,7 @@ void Sema::RecordParsingTemplateParamete
}
// 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 *
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()) {
More information about the cfe-commits
mailing list