r197544 - Fix comment-code function name mismatch

Hans Wennborg hans at hanshq.net
Tue Dec 17 17:40:00 PST 2013


Author: hans
Date: Tue Dec 17 19:39:59 2013
New Revision: 197544

URL: http://llvm.org/viewvc/llvm-project?rev=197544&view=rev
Log:
Fix comment-code function name mismatch

Modified:
    cfe/trunk/lib/CodeGen/CGClass.cpp

Modified: cfe/trunk/lib/CodeGen/CGClass.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGClass.cpp?rev=197544&r1=197543&r2=197544&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGClass.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGClass.cpp Tue Dec 17 19:39:59 2013
@@ -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(
   // 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.





More information about the cfe-commits mailing list