Home
last modified time | relevance | path

Searched refs:typeDecl (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td621 auto typeDecl = cast<CXXRecordDecl>(declaration);
622 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) {
630 InjectedClassNameType(typeDecl, injectedSpecializationType);
631 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1380 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() local
1384 if (isa<RecordDecl>(typeDecl) && !Context.getLangOpts().CPlusPlus) in ValidateCandidate()
1389 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate()
1562 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1563 typeDecls.push_back(typeDecl); in actOnObjCTypeArgsOrProtocolQualifiers()
1581 auto resolveTypeReference = [&](TypeOrClassDecl typeDecl, SourceLocation loc) in actOnObjCTypeArgsOrProtocolQualifiers()
1588 if (auto *actualTypeDecl = typeDecl.dyn_cast<TypeDecl *>()) in actOnObjCTypeArgsOrProtocolQualifiers()
1591 type = Context.getObjCInterfaceType(typeDecl.get<ObjCInterfaceDecl *>()); in actOnObjCTypeArgsOrProtocolQualifiers()
1715 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1720 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()