From 8b731ea100ca1caf5d8018acd6021cbffff81036 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!). llvm-svn: 170403 --- clang/lib/CodeGen/CGExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index 19109d7..5181b1d 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/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.7.4