skia2/experimental/skrive
John Stiles e58831cd95 Add format-specifier warnings to SkDebugf.
This CL fixes up many existing format-specifier violations in Skia.
Note that GCC has a warning for formatting nothing, so existing calls to
`SkDebugf("")` have been removed, or replaced with `SkDebugf("%s", "")`.
These were apparently meant to be used as a place to set a breakpoint.

Some of our clients also use SkDebug with bad format specifiers, so this
check is currently only enabled when SKIA_IMPLEMENTATION is true.

Change-Id: I8177a1298a624c6936adc24e0d8f481362a356d0
Bug: skia:12143
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/420902
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-06-25 11:05:59 +00:00
..
include Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
src Add format-specifier warnings to SkDebugf. 2021-06-25 11:05:59 +00:00
tests [skrive] Rectangle support 2020-06-26 15:12:00 +00:00
BUILD.gn Split :tests into :test and :tests. 2021-02-18 17:01:23 +00:00
skrive.gni [skrive] Rectangle support 2020-06-26 15:12:00 +00:00