diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-18 17:02:48 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-18 17:02:48 +0000 |
commit | 1c95046aa5e41cba1f55f11814e642c38c2f5665 (patch) | |
tree | b5890855fe520413a2deaa7bcfbc77ab47125fb8 /lldb/source/Expression/FunctionCaller.cpp | |
parent | 827802871bb3de43ea8627efb1278f81fb7fb280 (diff) | |
download | bcm5719-llvm-1c95046aa5e41cba1f55f11814e642c38c2f5665.tar.gz bcm5719-llvm-1c95046aa5e41cba1f55f11814e642c38c2f5665.zip |
Reduce inclusion of clang headers.
Summary:
With the recent changes to separate clang from the core structures
of LLDB, many inclusions of clang headers can be removed.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D12954
llvm-svn: 248004
Diffstat (limited to 'lldb/source/Expression/FunctionCaller.cpp')
-rw-r--r-- | lldb/source/Expression/FunctionCaller.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp index acfc71c146e..d52eb5b1378 100644 --- a/lldb/source/Expression/FunctionCaller.cpp +++ b/lldb/source/Expression/FunctionCaller.cpp @@ -11,15 +11,6 @@ // C Includes // C++ Includes // Other libraries and framework includes -#include "clang/AST/ASTContext.h" -#include "clang/AST/RecordLayout.h" -#include "clang/CodeGen/CodeGenAction.h" -#include "clang/CodeGen/ModuleBuilder.h" -#include "clang/Frontend/CompilerInstance.h" -#include "llvm/ADT/StringRef.h" -#include "llvm/ADT/Triple.h" -#include "llvm/ExecutionEngine/ExecutionEngine.h" -#include "llvm/IR/Module.h" // Project includes #include "lldb/Core/DataExtractor.h" @@ -29,11 +20,9 @@ #include "lldb/Core/ValueObject.h" #include "lldb/Core/ValueObjectList.h" #include "lldb/Expression/ASTStructExtractor.h" -#include "lldb/Expression/ClangExpressionParser.h" #include "lldb/Expression/FunctionCaller.h" #include "lldb/Expression/IRExecutionUnit.h" #include "lldb/Interpreter/CommandReturnObject.h" -#include "lldb/Symbol/ClangASTContext.h" #include "lldb/Symbol/Function.h" #include "lldb/Symbol/Type.h" #include "lldb/Target/ExecutionContext.h" @@ -167,7 +156,6 @@ FunctionCaller::WriteFunctionArguments (ExecutionContext &exe_ctx, } Error error; - using namespace clang; lldb::ExpressionResults return_value = lldb::eExpressionSetupError; Process *process = exe_ctx.GetProcessPtr(); @@ -240,8 +228,6 @@ FunctionCaller::WriteFunctionArguments (ExecutionContext &exe_ctx, bool FunctionCaller::InsertFunction (ExecutionContext &exe_ctx, lldb::addr_t &args_addr_ref, Stream &errors) { - using namespace clang; - if (CompileFunction(errors) != 0) return false; if (!WriteFunctionWrapper(exe_ctx, errors)) @@ -344,7 +330,6 @@ FunctionCaller::ExecuteFunction( Stream &errors, Value &results) { - using namespace clang; lldb::ExpressionResults return_value = lldb::eExpressionSetupError; // FunctionCaller::ExecuteFunction execution is always just to get the result. Do make sure we ignore |