Searched refs:typeDecl (Results 1 – 2 of 2) sorted by relevance
570 auto typeDecl = cast<CXXRecordDecl>(declaration);571 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) {579 InjectedClassNameType(typeDecl, injectedSpecializationType);580 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
1380 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() local1384 if (isa<RecordDecl>(typeDecl) && !Context.getLangOpts().CPlusPlus) in ValidateCandidate()1389 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate()1566 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() local1567 typeDecls.push_back(typeDecl); in actOnObjCTypeArgsOrProtocolQualifiers()1585 auto resolveTypeReference = [&](TypeOrClassDecl typeDecl, SourceLocation loc) in actOnObjCTypeArgsOrProtocolQualifiers()1592 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers()1595 type = Context.getObjCInterfaceType(typeDecl.get<ObjCInterfaceDecl *>()); in actOnObjCTypeArgsOrProtocolQualifiers()1719 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers() local1724 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()