]> granicus.if.org Git - clang/commitdiff
Fix comment-code function name mismatch
authorHans Wennborg <hans@hanshq.net>
Wed, 18 Dec 2013 01:39:59 +0000 (01:39 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 18 Dec 2013 01:39:59 +0000 (01:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197544 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGClass.cpp

index 20ff2a46deff09d26085b43f6688106a33bd1b66..17f79ec7827c4d27261468d82379a9d2bd4f40a3 100644 (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.