[clang-fuzzer] Remove unused typedef.

llvm-svn: 338946
This commit is contained in:
Matt Morehouse
2018-08-04 01:42:47 +00:00
parent aa140bf164
commit b1218ec8ea

View File

@@ -160,7 +160,6 @@ static void CreateAndRunJITFunc(const std::string &IR, CodeGenOpt::Level OLvl) {
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 std::string &IR, CodeGenOpt::Level OLvl) {
#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