Searched refs:getAsTagDecl (Results 1 – 16 of 16) sorted by relevance
65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
906 clang::TagDecl *record_decl = field_type->getAsTagDecl(); in ImportImpl()
267 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()472 if (auto *tag = qt->getAsTagDecl()) { in GetOrCreateDeclForUid()518 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()559 clang::TagDecl *tag = qt->getAsTagDecl(); in GetParentDeclContextForSymbol()637 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()972 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
1376 const auto *RD = cast<RecordDecl>(Ty->getAsTagDecl()); in createGlobalStruct()1391 const auto *RD = cast<RecordDecl>(Ty->getAsTagDecl()); in createConstantGlobalStructAndAddToParent()3604 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()3702 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()4638 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements()4669 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData()4731 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjElementsSizes()4788 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjElements()4973 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause()5078 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitUpdateClause()[all …]
475 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
239 assert(qt->getAsTagDecl() == nullptr || in GetType()240 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
213 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
816 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
315 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
710 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
16140 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
1754 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()1758 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl()1761 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
1551 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
2256 TagDecl *getAsTagDecl() const;