diff options
author | Hans Wennborg <hans@hanshq.net> | 2011-10-18 08:58:16 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2011-10-18 08:58:16 +0000 |
commit | 95c49c6c328e5420d14b3028ffad77241f28fbdb (patch) | |
tree | a9dcc77615ec2f8b3e6e77d15e0d0af5a2e461e8 /clang/lib/Basic/TokenKinds.cpp | |
parent | f99d04f841bc2fddd009b6481f43c266cabf4300 (diff) | |
download | bcm5719-llvm-95c49c6c328e5420d14b3028ffad77241f28fbdb.tar.gz bcm5719-llvm-95c49c6c328e5420d14b3028ffad77241f28fbdb.zip |
Disable the ssize_t test in format-strings-fixit.c.
Turns out this part of the test from r142342 wasn't portable.
The errors on the bots look like this:
E:\bb-win7\cmake-clang-i686-msys\build\tools\clang\test\Sema\Output\format-strings-fixit.c.tmp:58:13: error: conversion specifies type 'unsigned int' but the argument has type 'ssize_t' (aka 'long')
printf("%zd", (ssize_t) 42);
~~^ ~~~~~~~~~~~~
%zd
Obviously we can't typedef ssize_t to someting that doesn't have the same size as size_t and expect it to work.
But it's also weird that the format string "%zd" gets interpreted as "unsigned int" when it should clearly be signed.
llvm-svn: 142345
Diffstat (limited to 'clang/lib/Basic/TokenKinds.cpp')
0 files changed, 0 insertions, 0 deletions