Fix comment-code function name mismatch

llvm-svn: 197544
This commit is contained in:
Hans Wennborg 2013-12-18 01:39:59 +00:00
parent a6195b732d
commit deff70309f
1 changed files with 2 additions and 2 deletions

View File

@ -1427,7 +1427,7 @@ namespace {
};
}
/// EmitDtorEpilogue - Emit all code that comes at the end of class's
/// \brief Emit all code that comes at the end of class's
/// destructor. This is to call destructors on members and base classes
/// in reverse order of their construction.
void CodeGenFunction::EnterDtorCleanups(const CXXDestructorDecl *DD,
@ -1439,7 +1439,7 @@ void CodeGenFunction::EnterDtorCleanups(const CXXDestructorDecl *DD,
// operator delete that Sema picked up.
if (DtorType == Dtor_Deleting) {
assert(DD->getOperatorDelete() &&
"operator delete missing - EmitDtorEpilogue");
"operator delete missing - EnterDtorCleanups");
if (CXXStructorImplicitParamValue) {
// If there is an implicit param to the deleting dtor, it's a boolean
// telling whether we should call delete at the end of the dtor.