Searched refs:getAsTagDecl (Results 1 – 21 of 21) sorted by relevance
65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
225 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()290 if (auto *tag = qt->getAsTagDecl()) { in GetOrCreateDeclForUid()344 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()424 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()427 tag = element_type->getAsTagDecl(); in CompleteType()529 if (clang::TagDecl *tag = class_type->getAsTagDecl()) { in CreatePointerType()839 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
475 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
3220 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()3223 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction()3318 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()3322 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction()3426 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction()3473 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit()3870 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitTaskInit()4242 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements()4272 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData()4546 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause()[all …]
242 assert(qt->getAsTagDecl() == nullptr || in GetType()243 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
3834 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
588 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
213 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
832 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
314 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
716 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
11945 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
17228 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
1784 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()1788 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl()1791 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
3129 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create()3131 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
1605 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
3670 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
2396 TagDecl *getAsTagDecl() const;
1751 auto *underlyingDecl = TL.getUnderlyingType()->getAsTagDecl(); in VisitUsingTypeLoc()