summaryrefslogtreecommitdiffstats
path: root/lldb/include
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-10 13:30:20 +0000
committerPavel Labath <labath@google.com>2016-08-10 13:30:20 +0000
commitdc2b3b7ea82b71c2b2fefa8db67576eabf29f45f (patch)
tree03cca2abb988fff203e6d5f58ffc10adb91151ee /lldb/include
parent77f522cb42b4ec2112ea1b4534d82b02ea1f2b94 (diff)
downloadbcm5719-llvm-dc2b3b7ea82b71c2b2fefa8db67576eabf29f45f.tar.gz
bcm5719-llvm-dc2b3b7ea82b71c2b2fefa8db67576eabf29f45f.zip
Make sure files include what they use (part 1/N)
preparation for the big clang-format. llvm-svn: 278222
Diffstat (limited to 'lldb/include')
-rw-r--r--lldb/include/lldb/Core/Flags.h6
-rw-r--r--lldb/include/lldb/Host/MonitoringProcessLauncher.h1
-rw-r--r--lldb/include/lldb/Utility/Iterable.h4
3 files changed, 6 insertions, 5 deletions
diff --git a/lldb/include/lldb/Core/Flags.h b/lldb/include/lldb/Core/Flags.h
index 5f4f8830456..d3df61c798b 100644
--- a/lldb/include/lldb/Core/Flags.h
+++ b/lldb/include/lldb/Core/Flags.h
@@ -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_
diff --git a/lldb/include/lldb/Host/MonitoringProcessLauncher.h b/lldb/include/lldb/Host/MonitoringProcessLauncher.h
index f5d0a92aa8d..7ea424c18c5 100644
--- a/lldb/include/lldb/Host/MonitoringProcessLauncher.h
+++ b/lldb/include/lldb/Host/MonitoringProcessLauncher.h
@@ -12,6 +12,7 @@
// C Includes
// C++ Includes
+#include <memory>
// Other libraries and framework includes
// Project includes
#include "lldb/Host/ProcessLauncher.h"
diff --git a/lldb/include/lldb/Utility/Iterable.h b/lldb/include/lldb/Utility/Iterable.h
index 0c16a251b7a..e1ae81520b1 100644
--- a/lldb/include/lldb/Utility/Iterable.h
+++ b/lldb/include/lldb/Utility/Iterable.h
@@ -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
OpenPOWER on IntegriCloud