summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/pluginhandler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-25 13:55:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-25 15:17:31 +0200
commitfdc50b0a1b9741c5610a2b6c793c8fcdf5573c76 (patch)
tree7419f98a38cda7fe79a6660ec16f449f868f606b /compilerplugins/clang/pluginhandler.cxx
parentd459f4c92e7bbb7e031b8cbba395d4767ecf344e (diff)
new loplugin:returnconstant
look for methods that always return the same value Change-Id: I5f1c5b58a985ecf5f7765a2d4ebd464eae5ef76f Reviewed-on: https://gerrit.libreoffice.org/57973 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/pluginhandler.cxx')
-rw-r--r--compilerplugins/clang/pluginhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx
index a4637cd78e6d..5a31368bdee0 100644
--- a/compilerplugins/clang/pluginhandler.cxx
+++ b/compilerplugins/clang/pluginhandler.cxx
@@ -49,7 +49,7 @@ struct PluginData
bool byDefault;
};
-const int MAX_PLUGINS = 100;
+const int MAX_PLUGINS = 200;
static PluginData plugins[ MAX_PLUGINS ];
static int pluginCount = 0;
static bool bPluginObjectsCreated = false;