Make sure files include what they use (part 2/2)

This makes lldb still compile on linux after a project-wide clang-format

llvm-svn: 278335
This commit is contained in:
Pavel Labath 2016-08-11 14:12:10 +00:00
parent b9fcc2b171
commit 9ba9dfdd02
7 changed files with 14 additions and 9 deletions

View File

@ -10,6 +10,9 @@
#ifndef liblldb_RegisterContext_x86_H_ #ifndef liblldb_RegisterContext_x86_H_
#define liblldb_RegisterContext_x86_H_ #define liblldb_RegisterContext_x86_H_
#include <cstddef>
#include <cstdint>
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// i386 ehframe, dwarf regnums // i386 ehframe, dwarf regnums
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------

View File

@ -7,10 +7,11 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "lldb/Core/DataExtractor.h" #include "RegisterContextPOSIXCore_powerpc.h"
#include "lldb/Core/DataBufferHeap.h"
#include "lldb/Core/RegisterValue.h" #include "lldb/Core/RegisterValue.h"
#include "lldb/Target/Thread.h" #include "lldb/Target/Thread.h"
#include "RegisterContextPOSIXCore_powerpc.h"
using namespace lldb_private; using namespace lldb_private;

View File

@ -14,8 +14,8 @@
// C++ Includes // C++ Includes
// Other libraries and framework includes // Other libraries and framework includes
// Project includes // Project includes
#include "lldb/Core/DataBufferHeap.h"
#include "Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h" #include "Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h"
#include "lldb/Core/DataExtractor.h"
class RegisterContextCorePOSIX_powerpc : class RegisterContextCorePOSIX_powerpc :
public RegisterContextPOSIX_powerpc public RegisterContextPOSIX_powerpc

View File

@ -7,10 +7,11 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "lldb/Core/DataExtractor.h" #include "RegisterContextPOSIXCore_s390x.h"
#include "lldb/Core/DataBufferHeap.h"
#include "lldb/Core/RegisterValue.h" #include "lldb/Core/RegisterValue.h"
#include "lldb/Target/Thread.h" #include "lldb/Target/Thread.h"
#include "RegisterContextPOSIXCore_s390x.h"
using namespace lldb_private; using namespace lldb_private;

View File

@ -14,8 +14,8 @@
// C++ Includes // C++ Includes
// Other libraries and framework includes // Other libraries and framework includes
// Project includes // Project includes
#include "lldb/Core/DataBufferHeap.h"
#include "Plugins/Process/Utility/RegisterContextPOSIX_s390x.h" #include "Plugins/Process/Utility/RegisterContextPOSIX_s390x.h"
#include "lldb/Core/DataExtractor.h"
class RegisterContextCorePOSIX_s390x : public RegisterContextPOSIX_s390x class RegisterContextCorePOSIX_s390x : public RegisterContextPOSIX_s390x
{ {

View File

@ -13,7 +13,6 @@
#else #else
#include "lldb-python.h"
#include "PythonDataObjects.h" #include "PythonDataObjects.h"
#include "ScriptInterpreterPython.h" #include "ScriptInterpreterPython.h"

View File

@ -16,12 +16,13 @@
// C++ Includes // C++ Includes
// Other libraries and framework includes // Other libraries and framework includes
// Project includes // Project includes
#include "lldb/lldb-defines.h" #include "lldb-python.h"
#include "lldb/Core/ConstString.h" #include "lldb/Core/ConstString.h"
#include "lldb/Core/StructuredData.h"
#include "lldb/Core/Flags.h" #include "lldb/Core/Flags.h"
#include "lldb/Core/StructuredData.h"
#include "lldb/Host/File.h" #include "lldb/Host/File.h"
#include "lldb/Interpreter/OptionValue.h" #include "lldb/Interpreter/OptionValue.h"
#include "lldb/lldb-defines.h"
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"