summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-12-18 01:39:59 +0000
committerHans Wennborg <hans@hanshq.net>2013-12-18 01:39:59 +0000
commitdeff70309fee4a5d8348c0b8642677c46796ea2d (patch)
tree550b88b60032c65a859e06e001baf1faf8927f2b /clang/lib/CodeGen/CGClass.cpp
parenta6195b732d099384d34f60c205d88b05628905be (diff)
downloadbcm5719-llvm-deff70309fee4a5d8348c0b8642677c46796ea2d.tar.gz
bcm5719-llvm-deff70309fee4a5d8348c0b8642677c46796ea2d.zip
Fix comment-code function name mismatch
llvm-svn: 197544
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index 20ff2a46def..17f79ec7827 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -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.
OpenPOWER on IntegriCloud