Lines Matching refs:Decl
30 bool VisitCXXMethodDecl(CXXMethodDecl *Decl) { in VisitCXXMethodDecl() argument
33 if (ShouldSkip(Decl)) in VisitCXXMethodDecl()
42 if (!Decl->isStatic()) in VisitCXXMethodDecl()
44 for (auto *P : Decl->parameters()) in VisitCXXMethodDecl()
56 Stmt *Body = Decl->getBody(); in VisitCXXMethodDecl()
85 bool ShouldSkip(CXXMethodDecl *Decl) { in ShouldSkip() argument
87 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
93 if (Decl == Decl->getCanonicalDecl()) in ShouldSkip()
97 Stmt *Body = Decl->getBody(); in ShouldSkip()
102 AccessSpecifier AS = Decl->getAccess(); in ShouldSkip()
107 if (Decl->isVariadic()) in ShouldSkip()
111 if (isa<CXXDestructorDecl>(Decl)) in ShouldSkip()