diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-10-30 18:52:31 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-10-30 18:52:31 +0000 |
commit | 6f7eaaad0459ef493a1036872d4cc298369262d1 (patch) | |
tree | da60f7ebcf3985cad34702d8482b1ff102a97de3 /lib/msan/msan_allocator.h | |
parent | 8f11ffecd852191e2690d132f8475ec6bbc1fdd0 (diff) |
Revert "Apply modernize-use-default to compiler-rt."
This reverts commit r250823.
Replacing at least some of empty
constructors with "= default" variants is a semantical change which we
don't want. E.g. __tsan::ClockBlock contains a union of large arrays,
and it's critical for correctness and performance that we don't memset()
these arrays in the constructor.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@251717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_allocator.h')
-rw-r--r-- | lib/msan/msan_allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_allocator.h b/lib/msan/msan_allocator.h index a9a27e105..407942e54 100644 --- a/lib/msan/msan_allocator.h +++ b/lib/msan/msan_allocator.h @@ -26,7 +26,7 @@ struct MsanThreadLocalMallocStorage { private: // These objects are allocated via mmap() and are zero-initialized. - MsanThreadLocalMallocStorage() = default; + MsanThreadLocalMallocStorage() {} }; } // namespace __msan |