summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
diff options
context:
space:
mode:
authorAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 12:53:50 +0000
committerAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 12:53:50 +0000
commitea61047c6fb720d3ad161404a9df3233d7b8c272 (patch)
treec53b00f33c82b8beabb082e87f24f8e4d2c2ce63 /compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
parentb5250d3448428b33ae52b8ee574993a2f0f03352 (diff)
downloadbcm5719-llvm-ea61047c6fb720d3ad161404a9df3233d7b8c272.tar.gz
bcm5719-llvm-ea61047c6fb720d3ad161404a9df3233d7b8c272.zip
Apply modernize-use-default to compiler-rt.
Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: klimek, bkramer Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13892 llvm-svn: 250823
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
index 66c78cfdd7c..a167ce1986d 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
@@ -31,8 +31,7 @@ ThreadContext::ThreadContext(int tid)
}
#ifndef SANITIZER_GO
-ThreadContext::~ThreadContext() {
-}
+ThreadContext::~ThreadContext() = default;
#endif
void ThreadContext::OnDead() {
OpenPOWER on IntegriCloud