aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2020-01-28 09:03:31 +0000
committerSimon Tatham <simon.tatham@arm.com>2020-01-28 09:04:45 +0000
commitfe0d1b6a8ac5048b8007e5e7cc2aeb4e3291bda0 (patch)
tree4ce449e22bc873fe16a2802f822bd2fdc7ddb50b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent422dfea577796765382963e595f0c14cd298a02e (diff)
downloadllvm-fe0d1b6a8ac5048b8007e5e7cc2aeb4e3291bda0.zip
llvm-fe0d1b6a8ac5048b8007e5e7cc2aeb4e3291bda0.tar.gz
llvm-fe0d1b6a8ac5048b8007e5e7cc2aeb4e3291bda0.tar.bz2
[Clang] Warn about 'z' printf modifier in old MSVC.
Summary: The 'z' length modifier, signalling that an integer format specifier takes a `size_t` sized integer, is only supported by the C library of MSVC 2015 and later. Earlier versions don't recognize the 'z' at all, and respond to `printf("%zu", x)` by just printing "zu". So, if the MS compatibility version is set to a value earlier than MSVC2015, it's useful to warn about 'z' modifiers in printf format strings we check. Reviewers: aaron.ballman, lebedev.ri, rnk, majnemer, zturner Reviewed By: aaron.ballman Subscribers: amccarth, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73457
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions