]> granicus.if.org Git - clang/commit
[NFC] Silence warning about ptr-to-func to ptr-to-obj cast in clang-fuzzer/handle...
authorAndrei Elovikov <andrei.elovikov@intel.com>
Wed, 1 Aug 2018 13:34:18 +0000 (13:34 +0000)
committerAndrei Elovikov <andrei.elovikov@intel.com>
Wed, 1 Aug 2018 13:34:18 +0000 (13:34 +0000)
commitfea50aca369494586c9bd2468541ff682fca7319
treec8359c98ac2565da12fbba7824b618dd142139bf
parent2a926124013ea9283797ab07088bca79120b2e5c
[NFC] Silence warning about ptr-to-func to ptr-to-obj cast in clang-fuzzer/handle-llvm/handle_llvm.cpp.

Summary:
I don't have the whole list of GCC binaries available so I determined the exact
version where the warning disappeared via:

https://github.com/gcc-mirror/gcc/blob/gcc-4_9_0-release/gcc/cp/typeck.c#L6863
https://github.com/gcc-mirror/gcc/blob/gcc-4_8_5-release/gcc/cp/typeck.c#L6652

Reviewers: emmettneyman, erichkeane

Reviewed By: emmettneyman, erichkeane

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D50056

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338551 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-fuzzer/handle-llvm/handle_llvm.cpp