summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-11-01 09:58:40 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-11-16 10:51:41 +0000
commitc7453cf6767d5be43de878291e7eff371f200b4d (patch)
tree9274992856470e58b8ffa7d0886a62a3379ffc5b /src/gui/painting/qpaintengine_raster.cpp
parent84ff636ecf90342ccb81a67d526f42731cd07793 (diff)
Testlib: Explicitly cast messages to const char *
Macro parameters should always be enclosed in braces when used. Plain C strings passed in parantheses are interpreted as const char[], at least by clang-tidy. Implicitly decaying arrays into pointers should be avoided and clang-tidy warns about this. Avoid both problems by always static casting all messages to const char *. Change-Id: I2be668169bec2823f69af3aa75086a31b0b31938 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions