diff options
author | Angel Garcia Gomez <angelgarcia@google.com> | 2015-10-20 12:56:27 +0000 |
---|---|---|
committer | Angel Garcia Gomez <angelgarcia@google.com> | 2015-10-20 12:56:27 +0000 |
commit | 3ca34bc8707e6875a1ba0b18ff903427281131aa (patch) | |
tree | e2fb8edece5670afea79a116dc93a155cc483f5a /clang-tools-extra/clang-tidy/utils/IncludeInserter.cpp | |
parent | ea61047c6fb720d3ad161404a9df3233d7b8c272 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |