aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 12:52:55 +0000
committerAngel Garcia Gomez <angelgarcia@google.com>2015-10-20 12:52:55 +0000
commitb5250d3448428b33ae52b8ee574993a2f0f03352 (patch)
tree3fce53fb0fc15a0d773b45a0d6090cfde992b052 /clang/lib/Frontend/CompilerInvocation.cpp
parentf84916d40fb24692e1d4331c82920723d7b44ed1 (diff)
downloadllvm-b5250d3448428b33ae52b8ee574993a2f0f03352.zip
llvm-b5250d3448428b33ae52b8ee574993a2f0f03352.tar.gz
llvm-b5250d3448428b33ae52b8ee574993a2f0f03352.tar.bz2
Apply modernize-use-default to clang.
Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: bkramer, klimek Subscribers: klimek, alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13890 llvm-svn: 250822
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 6e234112..b5ac599 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -59,7 +59,7 @@ CompilerInvocationBase::CompilerInvocationBase(const CompilerInvocationBase &X)
HeaderSearchOpts(new HeaderSearchOptions(X.getHeaderSearchOpts())),
PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {}
-CompilerInvocationBase::~CompilerInvocationBase() {}
+CompilerInvocationBase::~CompilerInvocationBase() = default;
//===----------------------------------------------------------------------===//
// Deserialization (from args)