static_cast for uint64_t to unsigned gives a MS VC build warning
for Windows:
warning C4309: 'static_cast': truncation of constant value
Use an explicit cast instead.
Change-Id: I692d335b4913070686a102780c1fb05b893a2f69
Paths
| Differential D94592
[NFC][AsmPrinter] Windows warning: Use explicit cast ClosedPublic Authored by dstuttard on Jan 13 2021, 4:58 AM.
Details Summary static_cast for uint64_t to unsigned gives a MS VC build warning warning C4309: 'static_cast': truncation of constant value Use an explicit cast instead. Change-Id: I692d335b4913070686a102780c1fb05b893a2f69
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 13 2021, 7:02 AM This revision was landed with ongoing or failed builds.Jan 14 2021, 1:12 AM Closed by commit rG259936f4910a: [NFC][AsmPrinter] Windows warning: Use explicit cast (authored by dstuttard). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 316587 llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
|