summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 12:10:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 12:10:09 +0200
commitea43e0e3ceec30336273da0fb3d47c24073cffd2 (patch)
treebc2eed2410fdd03c6c7bf57a0b4f097540524331 /compilerplugins
parent9881bea8d41997fb46579eb5f0314300159c96cc (diff)
display oncevar loplugin by default
seems to be annoying some people. I'll run this one myself, and at some stage create some code for enabling a subset of extra plugins via configure.ac Change-Id: Ia95701f63f65751d75b5a3fecffb1fc1a82f38e0
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/oncevar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/oncevar.cxx b/compilerplugins/clang/oncevar.cxx
index 052a448b0325..0f2e47219928 100644
--- a/compilerplugins/clang/oncevar.cxx
+++ b/compilerplugins/clang/oncevar.cxx
@@ -404,7 +404,7 @@ bool OnceVar::VisitDeclRefExpr( const DeclRefExpr* declRefExpr )
return true;
}
-loplugin::Plugin::Registration< OnceVar > X("oncevar", true);
+loplugin::Plugin::Registration< OnceVar > X("oncevar", false);
}