summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-18 14:00:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-18 22:43:28 +0100
commitf2ef97dee758cb7b9360ebef08d59672b5e56b0d (patch)
tree7795a625739e944f9ff338ae07c971e2a3608f56 /compilerplugins
parent09f5ffafc2dcc999acfe5939ce341d27122a4446 (diff)
loplugin:fpcomparison: Whitelist some Windows-only functions
Change-Id: I94f35696ba358a049ee65764d17c62df7889aec7
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/fpcomparison.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/compilerplugins/clang/fpcomparison.cxx b/compilerplugins/clang/fpcomparison.cxx
index 025d4e028534..5bc5d95ede47 100644
--- a/compilerplugins/clang/fpcomparison.cxx
+++ b/compilerplugins/clang/fpcomparison.cxx
@@ -322,6 +322,11 @@ bool FpComparison::ignore(FunctionDecl* function)
|| dc.Function("testPlotAreaManualLayoutXLSX").Class("Chart2ExportTest").GlobalNamespace()
|| dc.Function("testLegendManualLayoutXLSX").Class("Chart2ExportTest").GlobalNamespace()
|| dc.Function("SetScreenNumber").Class("AquaSalFrame").GlobalNamespace()
+ || dc.Function("encode_glyph").GlobalNamespace()
+ || dc.Function("LayoutText").Class("SimpleWinLayout").GlobalNamespace()
+ || dc.Function("DisableFontScaling").Class("WinLayout").GlobalNamespace()
+ || dc.Function("LayoutText").Class("UniscribeLayout").GlobalNamespace()
+ || dc.Function("GetTextLayout").Class("WinSalGraphics").GlobalNamespace()
|| (vclFloatDevicePixel
&& (dc.Function("Justify").Class("GenericSalLayout").GlobalNamespace()
|| dc.Function("AdjustLayout").Class("MultiSalLayout").GlobalNamespace())))