Mark the virtual destructors.

This commit is contained in:
Roberto Raggi
2010-08-09 17:06:00 +02:00
parent 93cb30b102
commit 633580d7f3
2 changed files with 58 additions and 2 deletions

View File

@@ -90,6 +90,9 @@ protected:
CheckSymbols(Document::Ptr doc, const LookupContext &context);
bool hasVirtualDestructor(Class *klass) const;
bool hasVirtualDestructor(ClassOrNamespace *binding) const;
bool warning(unsigned line, unsigned column, const QString &text, unsigned length = 0);
bool warning(AST *ast, const QString &text);