summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 15:34:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 08:18:10 +0200
commit2fd083579d42d7649c162f18db235498198ff3f4 (patch)
treeb9da2f8f71dc0ed7ae07dfca4e921caf96f7a01b /compilerplugins
parentceea1f3c735b4e6d40cc0cfd8c249b6aff6b4e89 (diff)
loplugin:returnconstval in various
Change-Id: Ib5d293417b1faeb7ef63a8df99fc1ba644989cdc Reviewed-on: https://gerrit.libreoffice.org/78079 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/returnconstval.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/returnconstval.cxx b/compilerplugins/clang/returnconstval.cxx
index beab3c654972..3683149c0ee8 100644
--- a/compilerplugins/clang/returnconstval.cxx
+++ b/compilerplugins/clang/returnconstval.cxx
@@ -70,7 +70,7 @@ bool ReturnConstVal::VisitFunctionDecl(const FunctionDecl* functionDecl)
return true;
}
-loplugin::Plugin::Registration<ReturnConstVal> X("returnconstval", false);
+loplugin::Plugin::Registration<ReturnConstVal> X("returnconstval");
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */