summaryrefslogtreecommitdiffstats
path: root/clang-query
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
commitdec2fa63a95c13b6177006fed249d0bddc98473e (patch)
tree2c749a8a7c49c9ff70c0053c7033a9f333ab3924 /clang-query
parented971c0759e8a5145b699e12ca24dfad79a5e19a (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@250824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-query')
-rw-r--r--clang-query/Query.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-query/Query.cpp b/clang-query/Query.cpp
index 74eb6ea4..594c7429 100644
--- a/clang-query/Query.cpp
+++ b/clang-query/Query.cpp
@@ -20,7 +20,7 @@ using namespace clang::ast_matchers::dynamic;
namespace clang {
namespace query {
-Query::~Query() {}
+Query::~Query() = default;
bool InvalidQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const {
OS << ErrStr << "\n";