summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp
diff options
context:
space:
mode:
authorAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 12:56:27 +0000
committerAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 12:56:27 +0000
commit3ca34bc8707e6875a1ba0b18ff903427281131aa (patch)
treee2fb8edece5670afea79a116dc93a155cc483f5a /clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp
parentea61047c6fb720d3ad161404a9df3233d7b8c272 (diff)
downloadbcm5719-llvm-3ca34bc8707e6875a1ba0b18ff903427281131aa.tar.gz
bcm5719-llvm-3ca34bc8707e6875a1ba0b18ff903427281131aa.zip
Apply modernize-use-default to clang-tools-extra.
Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13889 llvm-svn: 250824
Diffstat (limited to 'clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp b/clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp
index 8f4bee6ad90..f093aa97543 100644
--- a/clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp
+++ b/clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp
@@ -38,7 +38,7 @@ IncludeInserter::IncludeInserter(const SourceManager &SourceMgr,
IncludeSorter::IncludeStyle Style)
: SourceMgr(SourceMgr), LangOpts(LangOpts), Style(Style) {}
-IncludeInserter::~IncludeInserter() {}
+IncludeInserter::~IncludeInserter() = default;
std::unique_ptr<PPCallbacks> IncludeInserter::CreatePPCallbacks() {
return llvm::make_unique<IncludeInserterCallback>(this);
OpenPOWER on IntegriCloud