summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /compilerplugins
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'compilerplugins')
-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()))