Visit CXXMethodDecl in CXXRecordDecl so parent function can be reported.