[llvm] r271491 - [LibFuzzer] Reimplement how the optional user functions are called.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 03:17:56 PDT 2017
On 10 July 2017 at 21:35, David Blaikie <dblaikie at gmail.com> wrote:
> -Wpedantic in clang ToT fires on this too.
>
> I believe the idiomatic way to do this is:
>
> reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(func_ptr));
Thank you for the excellent suggestion. This does indeed remove the
warning. I'll use this fix.
More information about the llvm-commits
mailing list