[PATCH] Added CXXMethodDecl matcher isPureVirtual()
Konrad Kleine
konrad.wilhelm.kleine at gmail.com
Fri Feb 21 08:24:27 PST 2014
Hi,
I've added a new CXXMethodDecl matcher: isPureVirtual().
The isPureVirtual() CXXMethodDecl matcher matches any purely virtual
method declaration like "A::x" in this example:
class A {
virtual void x() = 0;
}
The new matcher is also covered with a positive and negative unittest.
I also fixed a small documentation error (missing semicolon).
Please, see the attachment for a patch.
Regards,
Konrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140221/7e68a810/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-CXXMethodDecl-matcher-isPureVirtual.patch
Type: text/x-patch
Size: 2381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140221/7e68a810/attachment.bin>
More information about the cfe-commits
mailing list