]> granicus.if.org Git - clang/commitdiff
Fix typo (thanks to Jordan for spotting it!).
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Dec 2012 03:04:38 +0000 (03:04 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Dec 2012 03:04:38 +0000 (03:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170403 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGExpr.cpp

index 19109d7b017eaaa39635d79ce7006636b54c6f97..5181b1d52cdee0d7fa10f692283b9f1c1b96f9b4 100644 (file)
@@ -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) &&