[cfe-commits] r170403 - /cfe/trunk/lib/CodeGen/CGExpr.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Mon Dec 17 19:04:38 PST 2012
Author: rsmith
Date: Mon Dec 17 21:04:38 2012
New Revision: 170403
URL: http://llvm.org/viewvc/llvm-project?rev=170403&view=rev
Log:
Fix typo (thanks to Jordan for spotting it!).
Modified:
cfe/trunk/lib/CodeGen/CGExpr.cpp
Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=170403&r1=170402&r2=170403&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Mon Dec 17 21:04:38 2012
@@ -543,7 +543,7 @@
// [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) &&
More information about the cfe-commits
mailing list