[Lldb-commits] [lldb] r218148 - Make sure to #include <atomic> when using std::atomic.
Zachary Turner
zturner at google.com
Fri Sep 19 13:12:32 PDT 2014
Author: zturner
Date: Fri Sep 19 15:12:32 2014
New Revision: 218148
URL: http://llvm.org/viewvc/llvm-project?rev=218148&view=rev
Log:
Make sure to #include <atomic> when using std::atomic.
Modified:
lldb/trunk/include/lldb/Core/Communication.h
lldb/trunk/include/lldb/Core/ConnectionFileDescriptor.h
lldb/trunk/source/lldb-log.cpp
Modified: lldb/trunk/include/lldb/Core/Communication.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Communication.h?rev=218148&r1=218147&r2=218148&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Communication.h (original)
+++ lldb/trunk/include/lldb/Core/Communication.h Fri Sep 19 15:12:32 2014
@@ -12,6 +12,7 @@
// C Includes
// C++ Includes
+#include <atomic>
#include <string>
// Other libraries and framework includes
Modified: lldb/trunk/include/lldb/Core/ConnectionFileDescriptor.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ConnectionFileDescriptor.h?rev=218148&r1=218147&r2=218148&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ConnectionFileDescriptor.h (original)
+++ lldb/trunk/include/lldb/Core/ConnectionFileDescriptor.h Fri Sep 19 15:12:32 2014
@@ -11,6 +11,7 @@
#define liblldb_ConnectionFileDescriptor_h_
// C++ Includes
+#include <atomic>
#include <memory>
#include "lldb/lldb-forward.h"
Modified: lldb/trunk/source/lldb-log.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/lldb-log.cpp?rev=218148&r1=218147&r2=218148&view=diff
==============================================================================
--- lldb/trunk/source/lldb-log.cpp (original)
+++ lldb/trunk/source/lldb-log.cpp Fri Sep 19 15:12:32 2014
@@ -11,6 +11,7 @@
// C Includes
// C++ Includes
+#include <atomic>
// Other libraries and framework includes
// Project includes
#include "lldb/Interpreter/Args.h"
More information about the lldb-commits
mailing list