summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/virtualdead.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/virtualdead.cxx')
-rw-r--r--compilerplugins/clang/virtualdead.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/compilerplugins/clang/virtualdead.cxx b/compilerplugins/clang/virtualdead.cxx
index ca117d7f60ef..1a63363aaaf2 100644
--- a/compilerplugins/clang/virtualdead.cxx
+++ b/compilerplugins/clang/virtualdead.cxx
@@ -117,8 +117,6 @@ std::string niceName(const CXXMethodDecl* cxxMethodDecl)
bool VirtualDead::VisitCXXMethodDecl(const CXXMethodDecl* methodDecl)
{
- if (ignoreLocation(methodDecl))
- return true;
if (!methodDecl->isVirtual() || methodDecl->isDeleted())
return true;
if (isa<CXXDestructorDecl>(methodDecl))