Kaydet (Commit) 793fd7e5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst f70a9eeb
...@@ -67,7 +67,7 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) { ...@@ -67,7 +67,7 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) {
report( report(
DiagnosticsEngine::Warning, DiagnosticsEngine::Warning,
("overriding destructor declaration not explicitly marked" ("overriding destructor declaration not explicitly marked"
" 'virtual'"), " 'override'"),
decl->getLocation()) decl->getLocation())
<< decl->getSourceRange(); << decl->getSourceRange();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment