summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-28 14:05:08 +0200
committerNoel Grandin <noel@peralex.com>2016-04-28 14:06:18 +0200
commit26d73dbf53831cf4d5aec1f4db32bedb2c1e06be (patch)
treeac690c7a1b71c5e2e8ce67c740034f97c3975bf0 /compilerplugins
parent2465cb26763b2ed8de65f35bce791fb55fe0e746 (diff)
loplugin:stylepolice
Change-Id: I151e4d94f1f5dc84ef3f91218686ca9d1b9bc36f
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/stylepolice.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/stylepolice.cxx b/compilerplugins/clang/stylepolice.cxx
index c6f0e16e55fb..d2e3af752b98 100644
--- a/compilerplugins/clang/stylepolice.cxx
+++ b/compilerplugins/clang/stylepolice.cxx
@@ -175,6 +175,7 @@ bool StylePolice::VisitVarDecl(const VarDecl * varDecl)
&& !startswith(typeName, "vcl::DeleteUnoReferenceOnDeinit")
// there are lots of coordinate/position vars that start with "x"
&& !qt->isArithmeticType()
+ && !startswith(typeName, "float [")
)
{
report(