Remove more redundant code
This commit is contained in:
parent
8b151c893e
commit
5120e219d5
@ -10,7 +10,6 @@
|
|||||||
#include "ExecutionContext.h"
|
#include "ExecutionContext.h"
|
||||||
|
|
||||||
#include "clang/AST/Type.h"
|
#include "clang/AST/Type.h"
|
||||||
#include "clang/AST/ASTContext.h"
|
|
||||||
#include "clang/Sema/Sema.h"
|
#include "clang/Sema/Sema.h"
|
||||||
|
|
||||||
#include "llvm/IR/Constants.h"
|
#include "llvm/IR/Constants.h"
|
||||||
@ -198,7 +197,6 @@ freeCallersOfUnresolvedSymbols(llvm::SmallVectorImpl<llvm::Function*>&
|
|||||||
|
|
||||||
ExecutionContext::ExecutionResult
|
ExecutionContext::ExecutionResult
|
||||||
ExecutionContext::executeFunction(llvm::StringRef funcname,
|
ExecutionContext::executeFunction(llvm::StringRef funcname,
|
||||||
clang::QualType retType,
|
|
||||||
StoredValueRef* returnValue)
|
StoredValueRef* returnValue)
|
||||||
{
|
{
|
||||||
// Call a function without arguments, or with an SRet argument, see SRet below
|
// Call a function without arguments, or with an SRet argument, see SRet below
|
||||||
|
@ -23,7 +23,6 @@ namespace llvm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
namespace clang {
|
namespace clang {
|
||||||
class ASTContext;
|
|
||||||
class Decl;
|
class Decl;
|
||||||
class QualType;
|
class QualType;
|
||||||
}
|
}
|
||||||
@ -136,7 +135,6 @@ namespace cling {
|
|||||||
void runStaticDestructorsOnce(llvm::Module* m);
|
void runStaticDestructorsOnce(llvm::Module* m);
|
||||||
|
|
||||||
ExecutionResult executeFunction(llvm::StringRef function,
|
ExecutionResult executeFunction(llvm::StringRef function,
|
||||||
clang::QualType retType,
|
|
||||||
StoredValueRef* returnValue = 0);
|
StoredValueRef* returnValue = 0);
|
||||||
|
|
||||||
///\brief Adds a symbol (function) to the execution engine.
|
///\brief Adds a symbol (function) to the execution engine.
|
||||||
|
Loading…
Reference in New Issue
Block a user