Lines Matching refs:RecordDecl
78 } else if (const auto *RecordDecl = dyn_cast<CXXRecordDecl>(FoundDecl)) { in Find() local
79 handleCXXRecordDecl(RecordDecl); in Find()
116 void handleCXXRecordDecl(const CXXRecordDecl *RecordDecl) { in handleCXXRecordDecl() argument
117 if (!RecordDecl->getDefinition()) { in handleCXXRecordDecl()
118 USRSet.insert(getUSRForDecl(RecordDecl)); in handleCXXRecordDecl()
121 RecordDecl = RecordDecl->getDefinition(); in handleCXXRecordDecl()
123 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl)) in handleCXXRecordDecl()
125 addUSRsOfCtorDtors(RecordDecl); in handleCXXRecordDecl()
157 const auto* RecordDecl = RD->getDefinition(); in addUSRsOfCtorDtors() local
160 if (!RecordDecl) { in addUSRsOfCtorDtors()
165 for (const auto *CtorDecl : RecordDecl->ctors()) in addUSRsOfCtorDtors()
168 if (RecordDecl->hasUserDeclaredConstructor()) in addUSRsOfCtorDtors()
169 for (const auto *D : RecordDecl->decls()) in addUSRsOfCtorDtors()
175 USRSet.insert(getUSRForDecl(RecordDecl->getDestructor())); in addUSRsOfCtorDtors()
176 USRSet.insert(getUSRForDecl(RecordDecl)); in addUSRsOfCtorDtors()