diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-18 03:04:38 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-18 03:04:38 +0000 |
commit | c92384f871597902b8d5ffc33a662e8ac0d25db0 (patch) | |
tree | db5285edb12d71e3545a9bcbe6171b495df4a15b | |
parent | 2fcff83aa4f62b96b98cde967c8fbacc74f3ab9f (diff) |
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
-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) && |