summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 11:04:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 11:07:17 +0200
commit298abfd91b19d89ce9af1610ea497dfe4d536fca (patch)
treeb47728dba3d7ad1a2bb512fbb788559131a5ed7c /compilerplugins
parente5b76044326f8dd5d59d7b9e51fbcda706836115 (diff)
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
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/flatten.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}