[cfe-dev] Count methods in class
Richard Smith
richard at metafoo.co.uk
Fri Mar 6 18:24:06 PST 2015
On Fri, Mar 6, 2015 at 4:50 PM, Daniel Dilts <diltsman at gmail.com> wrote:
> CXXRecordDecl::methods() appears to list all methods in the class and base
> classes. How would I get a list of only the methods declared in a class
> (none of the methods from base classes)?
>
It should only list methods in the current class (excluding those inherited
from base classes); do you have an example where it lists more than that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150306/7c1aea89/attachment.html>
More information about the cfe-dev
mailing list