r338946 - [clang-fuzzer] Remove unused typedef.
Matt Morehouse via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 3 18:42:47 PDT 2018
Author: morehouse
Date: Fri Aug 3 18:42:47 2018
New Revision: 338946
URL: http://llvm.org/viewvc/llvm-project?rev=338946&view=rev
Log:
[clang-fuzzer] Remove unused typedef.
Modified:
cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
Modified: cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp?rev=338946&r1=338945&r2=338946&view=diff
==============================================================================
--- cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp (original)
+++ cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp Fri Aug 3 18:42:47 2018
@@ -160,7 +160,6 @@ static void CreateAndRunJITFunc(const st
EE->finalizeObject();
EE->runStaticConstructorsDestructors(false);
- typedef void (*func)(int*, int*, int*, int);
#if defined(__GNUC__) && !defined(__clang) && \
((__GNUC__ == 4) && (__GNUC_MINOR__ < 9))
// Silence
@@ -173,7 +172,7 @@ static void CreateAndRunJITFunc(const st
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#endif
- LLVMFunc f = reinterpret_cast<LLVMFunc>(EE->getPointerToFunction(EntryFunc));
+ LLVMFunc f = reinterpret_cast<LLVMFunc>(EE->getPointerToFunction(EntryFunc));
#if defined(__GNUC__) && !defined(__clang) && \
((__GNUC__ == 4) && (__GNUC_MINOR__ < 9))
#pragma GCC diagnostic pop
More information about the cfe-commits
mailing list