Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTypeProperties.td553 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())
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp1364 if (auto typeDecl = candidate.getCorrectionDeclAs<TypeDecl>()) { in ValidateCandidate() local
1368 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() local
1551 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() local
1708 typeDecls[i] = typeDecl; in actOnObjCTypeArgsOrProtocolQualifiers()