From c92384f871597902b8d5ffc33a662e8ac0d25db0 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 18 Dec 2012 03:04:38 +0000 Subject: [PATCH] Fix typo (thanks to Jordan for spotting it!). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170403 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.50.1