Fix typo (thanks to Jordan for spotting it!).
llvm-svn: 170403
This commit is contained in:
parent
52f32b9b2b
commit
8b731ea100
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue