summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorVirgile Bello <virgile.bello@gmail.com>2013-09-05 16:38:02 +0000
committerVirgile Bello <virgile.bello@gmail.com>2013-09-05 16:38:02 +0000
commitf792acb20fd0233f2e5cf400ceabd4f2416db3b5 (patch)
tree2cf42457b9137b96c4cbb1bf1695ac2ce194d439 /lldb/source
parent3b203a65c2fb1fc1fdd2611ecc3cb5afeb5de817 (diff)
downloadbcm5719-llvm-f792acb20fd0233f2e5cf400ceabd4f2416db3b5.tar.gz
bcm5719-llvm-f792acb20fd0233f2e5cf400ceabd4f2416db3b5.zip
Use <atomic> instead of "llvm/Support/Atomic.h". Removed unused RefCounter class.
llvm-svn: 190062
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Utility/CMakeLists.txt1
-rw-r--r--lldb/source/Utility/RefCounter.cpp25
2 files changed, 0 insertions, 26 deletions
diff --git a/lldb/source/Utility/CMakeLists.txt b/lldb/source/Utility/CMakeLists.txt
index ca677bc0394..64b17871fb0 100644
--- a/lldb/source/Utility/CMakeLists.txt
+++ b/lldb/source/Utility/CMakeLists.txt
@@ -5,7 +5,6 @@ add_lldb_library(lldbUtility
KQueue.cpp
PseudoTerminal.cpp
Range.cpp
- RefCounter.cpp
SharingPtr.cpp
StringExtractor.cpp
StringExtractorGDBRemote.cpp
diff --git a/lldb/source/Utility/RefCounter.cpp b/lldb/source/Utility/RefCounter.cpp
deleted file mode 100644
index c3acedd2f05..00000000000
--- a/lldb/source/Utility/RefCounter.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-//===---------------------RefCounter.cpp ------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "lldb/Utility/RefCounter.h"
-
-namespace lldb_utility {
-
-RefCounter::RefCounter(RefCounter::value_type* ctr):
-m_counter(ctr)
-{
- increment(m_counter);
-}
-
-RefCounter::~RefCounter()
-{
- decrement(m_counter);
-}
-
-} // namespace lldb_utility
OpenPOWER on IntegriCloud