diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-09-19 18:13:34 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-09-19 18:13:34 +0000 |
commit | 29bf94d86fba0babf426e3d25abaae24dd9971bd (patch) | |
tree | d799b7ebbcc4e72f7f5f03f95cc0f051da646791 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 8191d63c3bb4fb20afdc30a0681c072d18b6dcfc (diff) | |
download | llvm-29bf94d86fba0babf426e3d25abaae24dd9971bd.zip llvm-29bf94d86fba0babf426e3d25abaae24dd9971bd.tar.gz llvm-29bf94d86fba0babf426e3d25abaae24dd9971bd.tar.bz2 |
Sema: handle `wint_t` more carefully for printf checking
In the case that `win_t` is an `unsigned short` (e.g. on Windows), we would
previously incorrectly diagnose the conversion because we would immediately
promote the argument type from `wint_t` (aka `unsigned short`) to `int` before
checking if the type matched. This should repair the Windows hosted bots.
llvm-svn: 342565
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions