[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Thu Nov 30 07:32:06 UTC 2017
compilerplugins/clang/fpcomparison.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit bc4e8de8eea1ccebda479c8e2db2f3c6dfff60d2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 30 08:30:41 2017 +0100
Silence new loplugin:fpcomparison for now
...introduced with ba4a124b0c0c66fd275f5147d55eeec27ce78da9 "Resolves:
tdf#114117 draw page shadow mangled"
Change-Id: I31573d55ae7e5ff015d4582de1d436cdc673acf1
diff --git a/compilerplugins/clang/fpcomparison.cxx b/compilerplugins/clang/fpcomparison.cxx
index b5026fe21210..b914d7084bc4 100644
--- a/compilerplugins/clang/fpcomparison.cxx
+++ b/compilerplugins/clang/fpcomparison.cxx
@@ -327,7 +327,11 @@ bool FpComparison::ignore(FunctionDecl* function)
|| dc.Function("SetScreenNumber").Class("AquaSalFrame").GlobalNamespace()
|| (vclFloatDevicePixel
&& (dc.Function("Justify").Class("GenericSalLayout").GlobalNamespace()
- || dc.Function("AdjustLayout").Class("MultiSalLayout").GlobalNamespace())))
+ || dc.Function("AdjustLayout").Class("MultiSalLayout").GlobalNamespace()))
+ // vcl/headless/svpgdi.cxx, ba4a124b0c0c66fd275f5147d55eeec27ce78da9:
+ || dc.Function("drawAlphaBitmap").Class("SvpSalGraphics").GlobalNamespace()
+ || dc.Function("drawMask").Class("SvpSalGraphics").GlobalNamespace()
+ || dc.Function("renderSource").GlobalNamespace())
{
return true;
}
More information about the Libreoffice-commits
mailing list