[Libreoffice-commits] core.git: compilerplugins/clang
Noel Grandin
noel.grandin at collabora.co.uk
Wed Aug 16 07:36:45 UTC 2017
compilerplugins/clang/deadclass.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 3ee1174e7b530d251b0c2707421a5f28c0431c06
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Wed Aug 16 09:34:32 2017 +0200
remove leftover debugging output
Change-Id: Ide78daefced91fff2efeeb25dace6f722acfa3e9
diff --git a/compilerplugins/clang/deadclass.cxx b/compilerplugins/clang/deadclass.cxx
index 1c14dd52d136..1aaac2a8d09b 100644
--- a/compilerplugins/clang/deadclass.cxx
+++ b/compilerplugins/clang/deadclass.cxx
@@ -42,10 +42,6 @@ bool DeadClass::VisitCXXRecordDecl(CXXRecordDecl const * decl) {
for (auto i = decl->ctor_begin(); i != decl->ctor_end(); ++i) {
if (!i->isUserProvided())
continue;
-// if (i->getTemplatedKind() != clang::FunctionDecl::TK_NonTemplate)
-// return true;
-// if (i->getTemplateInstantiationPattern())
-// return true;
if (i->isCopyOrMoveConstructor())
copyMoveCnt++;
else
@@ -61,7 +57,6 @@ bool DeadClass::VisitCXXRecordDecl(CXXRecordDecl const * decl) {
for (auto i = decl->ctor_begin(); i != decl->ctor_end(); ++i) {
if (i->isDeleted())
continue;
- i->dump();
}
}
return true;
More information about the Libreoffice-commits
mailing list