<div dir="ltr">On closer examination the unexpected methods (which matched the count from the base classes) were the compiler provided assignment operators.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 6, 2015 at 6:24 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Fri, Mar 6, 2015 at 4:50 PM, Daniel Dilts <span dir="ltr"><<a href="mailto:diltsman@gmail.com" target="_blank">diltsman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr">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)?</div></blockquote><div><br></div></span><div>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? </div></div></div></div>
</blockquote></div><br></div>