diff options
Diffstat (limited to 'clang/examples/clang-interpreter/Invoke.h')
-rw-r--r-- | clang/examples/clang-interpreter/Invoke.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/clang/examples/clang-interpreter/Invoke.h b/clang/examples/clang-interpreter/Invoke.h deleted file mode 100644 index 33942534fd0..00000000000 --- a/clang/examples/clang-interpreter/Invoke.h +++ /dev/null @@ -1,34 +0,0 @@ -//===-- examples/clang-interpreter/Invoke.h - Clang C Interpreter Example -===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef CLANG_EXAMPLE_INTERPRETER_INVOKE_H -#define CLANG_EXAMPLE_INTERPRETER_INVOKE_H - -namespace llvm { - class ExecutionEngine; - class Function; -} - -#include <string> -#include <vector> - -namespace interpreter { - -typedef std::vector<std::string> InvokeArgs; - -typedef int (*Invoker)(llvm::ExecutionEngine *EE, llvm::Function *EntryFn, - const InvokeArgs &Args, char *const *EnvP); - -int TryIt(llvm::ExecutionEngine *EE, llvm::Function *EntryFn, - const InvokeArgs &Args, char *const *EnvP, - Invoker Invoke); - -} // interpreter - -#endif // CLANG_EXAMPLE_INTERPRETER_INVOKE_H |