summaryrefslogtreecommitdiff
path: root/lib/ubsan
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-10-30 18:52:31 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-10-30 18:52:31 +0000
commit6f7eaaad0459ef493a1036872d4cc298369262d1 (patch)
treeda60f7ebcf3985cad34702d8482b1ff102a97de3 /lib/ubsan
parent8f11ffecd852191e2690d132f8475ec6bbc1fdd0 (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/ubsan')
-rw-r--r--lib/ubsan/ubsan_diag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_diag.h b/lib/ubsan/ubsan_diag.h
index daa5ab2b8..2aa62eb74 100644
--- a/lib/ubsan/ubsan_diag.h
+++ b/lib/ubsan/ubsan_diag.h
@@ -150,7 +150,7 @@ public:
/// An individual diagnostic message argument.
struct Arg {
- Arg() = default;
+ Arg() {}
Arg(const char *String) : Kind(AK_String), String(String) {}
Arg(TypeName TN) : Kind(AK_TypeName), String(TN.getName()) {}
Arg(UIntMax UInt) : Kind(AK_UInt), UInt(UInt) {}