[Libreoffice-commits] core.git: compilerplugins/clang
Noel Grandin
noel.grandin at collabora.co.uk
Wed Sep 27 09:09:19 UTC 2017
compilerplugins/clang/flatten.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 298abfd91b19d89ce9af1610ea497dfe4d536fca
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Wed Sep 27 11:04:57 2017 +0200
disable flatten loplugin
<noelgrandin> sberg, new plugin flatten just went active
<sberg> noelgrandin, with a measure to avoid extending lifetime of (problematic) local vars?
<noelgrandin> sberg, no
<sberg> noelgrandin, how can you make it active then?
<noelgrandin> sberg, ok, will disable
Change-Id: I595d1a50ff34417faf73b777714f9dc92e2a43d2
diff --git a/compilerplugins/clang/flatten.cxx b/compilerplugins/clang/flatten.cxx
index aeb72714b6f8..4ca9d4fc4382 100644
--- a/compilerplugins/clang/flatten.cxx
+++ b/compilerplugins/clang/flatten.cxx
@@ -344,7 +344,7 @@ std::string Flatten::getSourceAsString(SourceRange range)
return std::string( p1, p2 - p1);
}
-loplugin::Plugin::Registration< Flatten > X("flatten", true);
+loplugin::Plugin::Registration< Flatten > X("flatten", false);
}
More information about the Libreoffice-commits
mailing list