aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/scripts/fuse_gmock_files.py
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-12-21 20:40:58 -0500
committerDavid Benjamin <davidben@google.com>2016-12-21 20:57:21 -0500
commit53c478d639b8eebd2942e88266610ebc79c541f6 (patch)
tree3ce5fee40e4ed41903208461598b25dfcd599da4 /googlemock/scripts/fuse_gmock_files.py
parent5e7fd50e17b6edf1cadff973d0ec68966cf3265e (diff)
downloadgoogletest-53c478d639b8eebd2942e88266610ebc79c541f6.tar.gz
googletest-53c478d639b8eebd2942e88266610ebc79c541f6.tar.bz2
googletest-53c478d639b8eebd2942e88266610ebc79c541f6.zip
Annotate ColoredPrintf with the format attribute and fix bugs.
googletest doesn't currently build with clang's very aggressive -Wformat-nonliteral warning. It requires that all non-literal format strings come from the argument of a function annotated with a compatible format attribute. Fixing that reports that ColoredPrintf's callers weren't passing the normal -Wformat warning. Some messages were passed directly into the format string rather than via "%s".
Diffstat (limited to 'googlemock/scripts/fuse_gmock_files.py')
0 files changed, 0 insertions, 0 deletions