Commit 29354ff1 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Detect pure virtual methods.

parent e81c5186
...@@ -1734,6 +1734,9 @@ bool Bind::visit(SimpleDeclarationAST *ast) ...@@ -1734,6 +1734,9 @@ bool Bind::visit(SimpleDeclarationAST *ast)
if (Function *funTy = decl->type()->asFunctionType()) { if (Function *funTy = decl->type()->asFunctionType()) {
funTy->setMethodKey(_methodKey); funTy->setMethodKey(_methodKey);
if (funTy->isVirtual() && it->value->equals_token)
funTy->setPureVirtual(true);
} }
} }
......
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