compilerplugins/clang/deadclass.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit 3ee1174e7b530d251b0c2707421a5f28c0431c06 Author: Noel Grandin <noel.gran...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits