Change-Id: Id0c1d5535b53e2aebe314151c0efa585e763f3f6
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. The warning is still showing up in Windows buildbots e.g. https://lab.llvm.org/buildbot/#/builders/86/builds/12569
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\ExecutionEngine\JITLink\x86_64.cpp(60): warning C4309: 'static_cast': truncation of constant value
As an alternative I think you could write just char(0xFF). Both approaches have been used in the past according to git log --grep "truncation of constant value"