Skip to content

Commit

Permalink
[NFC] [Clang]: fix spelling mistake in assert message
Browse files Browse the repository at this point in the history
Reviewed By: Jim

Differential Revision: https://reviews.llvm.org/D71541
  • Loading branch information
tclin914 committed Apr 12, 2021
1 parent dd4c999 commit 8a2d375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/VTableBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ static bool HasSameVirtualSignature(const CXXMethodDecl *LHS,
bool VCallOffsetMap::MethodsCanShareVCallOffset(const CXXMethodDecl *LHS,
const CXXMethodDecl *RHS) {
assert(VTableContextBase::hasVtableSlot(LHS) && "LHS must be virtual!");
assert(VTableContextBase::hasVtableSlot(RHS) && "LHS must be virtual!");
assert(VTableContextBase::hasVtableSlot(RHS) && "RHS must be virtual!");

// A destructor can share a vcall offset with another destructor.
if (isa<CXXDestructorDecl>(LHS))
Expand Down

0 comments on commit 8a2d375

Please sign in to comment.