diff options
-rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 19109d7b01..5181b1d52c 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -543,7 +543,7 @@ void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, // [For storage which does not refer to an object within its lifetime] // The program has undefined behavior if: // -- the [pointer or glvalue] is used to access a non-static data member - // or call a non-stastic member function + // or call a non-static member function CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); if (getLangOpts().SanitizeVptr && (TCK == TCK_MemberAccess || TCK == TCK_MemberCall) && |