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.td613 auto typeDecl = cast<CXXRecordDecl>(declaration);
614 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) {
622 InjectedClassNameType(typeDecl, injectedSpecializationType);
623 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1383 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() local
1387 if (isa<RecordDecl>(typeDecl) && !Context.getLangOpts().CPlusPlus) in ValidateCandidate()
1392 auto type = Context.getTypeDeclType(typeDecl); in ValidateCandidate()
1565 if (auto typeDecl = dyn_cast<TypeDecl>(decl)) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1566 typeDecls.push_back(typeDecl); in actOnObjCTypeArgsOrProtocolQualifiers()
1584 auto resolveTypeReference = [&](TypeOrClassDecl typeDecl, SourceLocation loc) in actOnObjCTypeArgsOrProtocolQualifiers()
1591 if (auto *actualTypeDecl = dyn_cast<TypeDecl *>(typeDecl)) in actOnObjCTypeArgsOrProtocolQualifiers()
1594 type = Context.getObjCInterfaceType(cast<ObjCInterfaceDecl *>(typeDecl)); in actOnObjCTypeArgsOrProtocolQualifiers()
1718 if (auto typeDecl = corrected.getCorrectionDeclAs<TypeDecl>()) { in actOnObjCTypeArgsOrProtocolQualifiers() local
1723 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()