Author: brucem Date: Wed Oct 7 12:22:54 2015 New Revision: 249570 URL: http://llvm.org/viewvc/llvm-project?rev=249570&view=rev Log: Reduce header inclusion in Expression.
Reviewers: spyffe Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13333 Modified: lldb/trunk/include/lldb/Expression/ExpressionParser.h lldb/trunk/include/lldb/Expression/ExpressionVariable.h lldb/trunk/include/lldb/Expression/FunctionCaller.h lldb/trunk/include/lldb/Expression/IRInterpreter.h lldb/trunk/include/lldb/Expression/Materializer.h lldb/trunk/include/lldb/Expression/UserExpression.h lldb/trunk/source/Expression/UtilityFunction.cpp lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h Modified: lldb/trunk/include/lldb/Expression/ExpressionParser.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ExpressionParser.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/include/lldb/Expression/ExpressionParser.h (original) +++ lldb/trunk/include/lldb/Expression/ExpressionParser.h Wed Oct 7 12:22:54 2015 @@ -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 { Modified: lldb/trunk/include/lldb/Expression/ExpressionVariable.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ExpressionVariable.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/include/lldb/Expression/ExpressionVariable.h (original) +++ lldb/trunk/include/lldb/Expression/ExpressionVariable.h Wed Oct 7 12:22:54 2015 @@ -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> Modified: lldb/trunk/include/lldb/Expression/FunctionCaller.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/FunctionCaller.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/include/lldb/Expression/FunctionCaller.h (original) +++ lldb/trunk/include/lldb/Expression/FunctionCaller.h Wed Oct 7 12:22:54 2015 @@ -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. Modified: lldb/trunk/include/lldb/Expression/IRInterpreter.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/IRInterpreter.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/include/lldb/Expression/IRInterpreter.h (original) +++ lldb/trunk/include/lldb/Expression/IRInterpreter.h Wed Oct 7 12:22:54 2015 @@ -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" Modified: lldb/trunk/include/lldb/Expression/Materializer.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/Materializer.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/include/lldb/Expression/Materializer.h (original) +++ lldb/trunk/include/lldb/Expression/Materializer.h Wed Oct 7 12:22:54 2015 @@ -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> Modified: lldb/trunk/include/lldb/Expression/UserExpression.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/UserExpression.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/include/lldb/Expression/UserExpression.h (original) +++ lldb/trunk/include/lldb/Expression/UserExpression.h Wed Oct 7 12:22:54 2015 @@ -16,10 +16,6 @@ #include <map> #include <vector> -// Other libraries and framework includes - -#include "llvm/ADT/ArrayRef.h" - // Project includes #include "lldb/lldb-forward.h" @@ -27,7 +23,6 @@ #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 Modified: lldb/trunk/source/Expression/UtilityFunction.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/UtilityFunction.cpp?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/source/Expression/UtilityFunction.cpp (original) +++ lldb/trunk/source/Expression/UtilityFunction.cpp Wed Oct 7 12:22:54 2015 @@ -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; Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h (original) +++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h Wed Oct 7 12:22:54 2015 @@ -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 { Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp (original) +++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp Wed Oct 7 12:22:54 2015 @@ -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" Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h (original) +++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h Wed Oct 7 12:22:54 2015 @@ -16,8 +16,6 @@ #include "lldb/Core/Error.h" #include "lldb/Expression/ExpressionParser.h" -#include "IRForTarget.h" - #include <string> #include <vector> Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h?rev=249570&r1=249569&r2=249570&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h (original) +++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h Wed Oct 7 12:22:54 2015 @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits