Searched refs:getAsTagDecl (Results 1 – 20 of 20) sorted by relevance
65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
226 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()291 if (auto *tag = qt->getAsTagDecl()) { in GetOrCreateDeclForUid()345 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()425 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()428 tag = element_type->getAsTagDecl(); in CompleteType()530 if (clang::TagDecl *tag = class_type->getAsTagDecl()) { in CreatePointerType()841 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
476 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
3018 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()3021 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction()3116 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()3120 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction()3224 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction()3271 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit()4040 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements()4069 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData()4343 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause()4452 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitUpdateClause()[all …]
243 assert(qt->getAsTagDecl() == nullptr || in GetType()244 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
3759 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
594 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
232 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
834 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
315 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
722 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
3744 if (const TagDecl *TD = T->getAsTagDecl()) in ActOnCXXMemberDeclarator()12384 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
17836 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
1820 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()1824 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl()1827 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
3183 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create()3185 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
1593 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
3750 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
2507 TagDecl *getAsTagDecl() const;