summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-12-18 03:04:38 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-12-18 03:04:38 +0000
commit8b731ea100ca1caf5d8018acd6021cbffff81036 (patch)
tree5866c3875f9f07785b2ccc0bd77656a43b482a24 /clang/lib/CodeGen/CGExpr.cpp
parent52f32b9b2be52b50377ec6a7315bbf079692aeaf (diff)
downloadbcm5719-llvm-8b731ea100ca1caf5d8018acd6021cbffff81036.tar.gz
bcm5719-llvm-8b731ea100ca1caf5d8018acd6021cbffff81036.zip
Fix typo (thanks to Jordan for spotting it!).
llvm-svn: 170403
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 19109d7b017..5181b1d52cd 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) &&
OpenPOWER on IntegriCloud