summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 09:34:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 09:35:11 +0200
commit3ee1174e7b530d251b0c2707421a5f28c0431c06 (patch)
treed6b999444bb45620f3c52f9a749808aa5c2bfd98 /compilerplugins
parent377e158587e93f26b5d8ab526d7410ddac730a3d (diff)
remove leftover debugging output
Change-Id: Ide78daefced91fff2efeeb25dace6f722acfa3e9
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/deadclass.cxx5
1 files changed, 0 insertions, 5 deletions
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;