Searched refs:typeDecl (Results 1 – 2 of 2) sorted by relevance
553 auto typeDecl = cast<CXXRecordDecl>(declaration);554 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) {562 InjectedClassNameType(typeDecl, injectedSpecializationType);563 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
1364 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() local1368 if (isa<RecordDecl>(typeDecl) && !Context.getLangOpts().CPlusPlus) in ValidateCandidate()1373 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate()1550 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() local1551 typeDecls.push_back(typeDecl); in actOnObjCTypeArgsOrProtocolQualifiers()1569 auto resolveTypeReference = [&](TypeOrClassDecl typeDecl, SourceLocation loc) in actOnObjCTypeArgsOrProtocolQualifiers()1576 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers()1579 type = Context.getObjCInterfaceType(typeDecl.get<ObjCInterfaceDecl *>()); in actOnObjCTypeArgsOrProtocolQualifiers()1703 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers() local1708 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()