summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-20 10:59:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-20 12:59:42 +0200
commit65075a76ff177ac40df726b2174297c8c774fbaa (patch)
tree209fda55984066dc58ec36a4b81a296050fb0421 /compilerplugins/clang
parentc37d00a4f22a973c0905a9d8f409994763cb637a (diff)
loplugin:stringviewvar disable for now
since it might generate false + Change-Id: Icde883e0a2d60e70dd4ce9bbf823b54847cbb180 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133203 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/stringviewvar.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/stringviewvar.cxx b/compilerplugins/clang/stringviewvar.cxx
index 2aedde049bdf..06123531e03b 100644
--- a/compilerplugins/clang/stringviewvar.cxx
+++ b/compilerplugins/clang/stringviewvar.cxx
@@ -400,7 +400,8 @@ private:
std::set<DeclRefExpr const*> currentGoodUses_;
};
-static loplugin::Plugin::Registration<StringViewVar> reg("stringviewvar");
+static loplugin::Plugin::Registration<StringViewVar> reg("stringviewvar",
+ false); // might generate false+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */