summaryrefslogtreecommitdiff
path: root/lib/ubsan
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
commitf44877aefa3ac39e91cde329c881939fe6b59bfe (patch)
treee78b7ba6c42dc3cb79a8dd538666b2715c96d095 /lib/ubsan
parent33b67568139c619e7e94137d6b90132416ae1b63 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@250823 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 2aa62eb74..daa5ab2b8 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() {}
+ Arg() = default;
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) {}