[all-commits] [llvm/llvm-project] a42a1c: [ORC] Fix reinterpret_cast warning. (#207874)
Lang Hames via All-commits
all-commits at lists.llvm.org
Mon Jul 6 18:24:23 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a42a1c84c1305d785ca58d271d5f2f87f1daeeb0
https://github.com/llvm/llvm-project/commit/a42a1c84c1305d785ca58d271d5f2f87f1daeeb0
Author: Lang Hames <lhames at gmail.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M llvm/unittests/ExecutionEngine/Orc/InProcessEPCTest.cpp
Log Message:
-----------
[ORC] Fix reinterpret_cast warning. (#207874)
https://github.com/llvm/llvm-project/pull/206725#issuecomment-4896222897
reported warnings on windows builds due to reinterpret_cast:
warning C4312: 'reinterpret_cast': conversion from 'unsigned int' to
'void *' of greater size
This commit fixes the issue by using ExecutorAddr::toPtr for conversion
instead of reinterpret_cast.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list