summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-17 13:56:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-17 13:56:58 +0200
commit793fd7e54856216bd58e1d402f63cec208291019 (patch)
treeb93f03b9a90c2af06e7e30477a9909534fb09679 /compilerplugins
parentf70a9eebf61c562fd9f4d9e4f128d3fc8a5c6473 (diff)
loplugin:override: No more need to request dtor be marked 'virtual'
...rather than 'override', cf. <https://gerrit.libreoffice.org/#/c/26347/> "loplugin:override: No more need for the "MSVC dtor override" workaround". Change-Id: Ib528938ed4be248117bb7114f34d4e9421bc3275
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/override.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/override.cxx b/compilerplugins/clang/override.cxx
index 155f4ceb33d9..69155d4b6948 100644
--- a/compilerplugins/clang/override.cxx
+++ b/compilerplugins/clang/override.cxx
@@ -67,7 +67,7 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) {
report(
DiagnosticsEngine::Warning,
("overriding destructor declaration not explicitly marked"
- " 'virtual'"),
+ " 'override'"),
decl->getLocation())
<< decl->getSourceRange();
}