summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2019-04-30 00:19:43 +0000
committerJF Bastien <jfbastien@apple.com>2019-04-30 00:19:43 +0000
commitea51a8c1e50cf297fe00d69b5396cd1ac35163b7 (patch)
tree9b93f3f82b58917b444355dde6727f888eeb114f /clang/lib/Sema/Sema.cpp
parent0d702a7fad87262dd31b26efcffe604dd196ea7e (diff)
downloadbcm5719-llvm-ea51a8c1e50cf297fe00d69b5396cd1ac35163b7.tar.gz
bcm5719-llvm-ea51a8c1e50cf297fe00d69b5396cd1ac35163b7.zip
[NFC] typo
llvm-svn: 359524
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index d09658060b0..0eb967a641b 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -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()) {
OpenPOWER on IntegriCloud