summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/unreffun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/unreffun.cxx')
-rw-r--r--compilerplugins/clang/unreffun.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unreffun.cxx b/compilerplugins/clang/unreffun.cxx
index 5295ca4376b0..ff746bf23ba1 100644
--- a/compilerplugins/clang/unreffun.cxx
+++ b/compilerplugins/clang/unreffun.cxx
@@ -74,7 +74,7 @@ bool UnrefFun::VisitFunctionDecl(FunctionDecl const * decl) {
}
//TODO, filtering out any functions relating to (class) templates for now:
- CXXRecordDecl const * r = dyn_cast<CXXRecordDecl>(decl->getDeclContext());;
+ CXXRecordDecl const * r = dyn_cast<CXXRecordDecl>(decl->getDeclContext());
if (r != nullptr
&& (r->getTemplateSpecializationKind() != TSK_Undeclared
|| r->isDependentContext()))