Make sure files include what they use (part 1/N)

preparation for the big clang-format.

llvm-svn: 278222
This commit is contained in:
Pavel Labath 2016-08-10 13:30:20 +00:00
parent 77f522cb42
commit dc2b3b7ea8
11 changed files with 24 additions and 14 deletions

View File

@ -9,10 +9,9 @@
#ifndef liblldb_Flags_h_
#define liblldb_Flags_h_
#if defined(__cplusplus)
#include <stdint.h>
#include <cstddef>
#include <cstdint>
namespace lldb_private {
@ -248,5 +247,4 @@ protected:
} // namespace lldb_private
#endif // #if defined(__cplusplus)
#endif // liblldb_Flags_h_

View File

@ -12,6 +12,7 @@
// C Includes
// C++ Includes
#include <memory>
// Other libraries and framework includes
// Project includes
#include "lldb/Host/ProcessLauncher.h"

View File

@ -230,7 +230,9 @@ public:
private:
MutexType *m_mutex = nullptr;
DISALLOW_COPY_AND_ASSIGN(LockingAdaptedIterable);
LockingAdaptedIterable(const LockingAdaptedIterable &) = delete;
LockingAdaptedIterable &
operator=(const LockingAdaptedIterable &) = delete;
};
} // namespace lldb_private

View File

@ -10,6 +10,9 @@
#ifndef lldb_ARMDefines_h_
#define lldb_ARMDefines_h_
#include <cassert>
#include <cstdint>
// Common definitions for the ARM/Thumb Instruction Set Architecture.
namespace lldb_private {

View File

@ -10,6 +10,9 @@
#ifndef liblldb_RegisterContext_mips64_H_
#define liblldb_RegisterContext_mips64_H_
#include <cstddef>
#include <cstdint>
// eh_frame and DWARF Register numbers (eRegisterKindEHFrame & eRegisterKindDWARF)
enum

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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