Skip to content

Commit

Permalink
Reduce header inclusion in Expression.
Browse files Browse the repository at this point in the history
Reviewers: spyffe

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D13333

llvm-svn: 249570
  • Loading branch information
waywardmonkeys committed Oct 7, 2015
1 parent bde46c5 commit 804f981
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 26 deletions.
4 changes: 0 additions & 4 deletions lldb/include/lldb/Expression/ExpressionParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@
#define liblldb_ExpressionParser_h_

#include "lldb/lldb-public.h"
#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/Error.h"

#include <string>
#include <vector>

namespace lldb_private
{

Expand Down
5 changes: 0 additions & 5 deletions lldb/include/lldb/Expression/ExpressionVariable.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
#ifndef liblldb_ExpressionVariable_h_
#define liblldb_ExpressionVariable_h_

// C Includes
#include <signal.h>
#include <stdint.h>
#include <string.h>

// C++ Includes
#include <vector>

Expand Down
5 changes: 0 additions & 5 deletions lldb/include/lldb/Expression/FunctionCaller.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,14 @@
// Other libraries and framework includes
// Project includes
#include "lldb/Core/Address.h"
#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/Value.h"
#include "lldb/Core/ValueObjectList.h"
#include "lldb/Expression/Expression.h"
#include "lldb/Expression/ExpressionParser.h"
#include "lldb/Symbol/CompilerType.h"
#include "lldb/Target/Process.h"

namespace lldb_private
{

class ClangExpressionParser;

//----------------------------------------------------------------------
/// @class FunctionCaller FunctionCaller.h "lldb/Expression/FunctionCaller.h"
/// @brief Encapsulates a function that can be called.
Expand Down
1 change: 0 additions & 1 deletion lldb/include/lldb/Expression/IRInterpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "lldb/lldb-public.h"
#include "lldb/Core/ConstString.h"
#include "lldb/Core/Stream.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Pass.h"

Expand Down
3 changes: 1 addition & 2 deletions lldb/include/lldb/Expression/Materializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
#include "lldb/lldb-private-types.h"
#include "lldb/Core/Error.h"
#include "lldb/Expression/IRMemoryMap.h"
#include "lldb/Host/Mutex.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "lldb/Target/StackFrame.h"

#include <vector>
Expand Down
5 changes: 0 additions & 5 deletions lldb/include/lldb/Expression/UserExpression.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@
#include <map>
#include <vector>

// Other libraries and framework includes

#include "llvm/ADT/ArrayRef.h"

// Project includes

#include "lldb/lldb-forward.h"
#include "lldb/lldb-private.h"
#include "lldb/Core/Address.h"
#include "lldb/Expression/Expression.h"
#include "lldb/Expression/Materializer.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "lldb/Target/ExecutionContext.h"

namespace lldb_private
Expand Down
1 change: 1 addition & 0 deletions lldb/source/Expression/UtilityFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "lldb/Expression/IRExecutionUnit.h"
#include "lldb/Host/Host.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"

using namespace lldb_private;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "clang/Sema/SemaConsumer.h"
#include "lldb/Core/ClangForward.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "lldb/Target/Target.h"

namespace lldb_private {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "ClangExpressionDeclMap.h"
#include "ClangModulesDeclVendor.h"
#include "ClangPersistentVariables.h"
#include "IRForTarget.h"

#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/DataBufferHeap.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include "lldb/Core/Error.h"
#include "lldb/Expression/ExpressionParser.h"

#include "IRForTarget.h"

#include <string>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "lldb/Core/ClangForward.h"
#include "lldb/Expression/UserExpression.h"
#include "lldb/Expression/Materializer.h"
#include "lldb/Symbol/TaggedASTType.h"
#include "lldb/Target/ExecutionContext.h"

namespace lldb_private
Expand Down

0 comments on commit 804f981

Please sign in to comment.