Home
last modified time | relevance | path

Searched refs:getAsTagDecl (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtil.cpp65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp226 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()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h178 if (auto *BaseDecl = BaseSpecifier.getType()->getAsTagDecl()) { in getBases()
250 auto *Tag = D.getType()->getAsTagDecl(); in maybeMergeWithAnonymousTag()
1113 if (auto *TagDecl = Decl->getUnderlyingType()->getAsTagDecl()) { in VisitTypedefNameDecl()
1480 const auto *TagTypeDecl = Declarator->getType()->getAsTagDecl(); in fetchRawCommentForDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp86 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
H A DCGOpenMPRuntime.cpp3033 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()
3036 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction()
3131 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()
3135 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction()
3239 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction()
3286 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit()
3682 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitTaskInit()
4055 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements()
4084 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData()
4362 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h246 assert(qt->getAsTagDecl() == nullptr || in GetType()
247 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
H A DTypeSystemClang.cpp2636 auto *tag_decl = enum_type->getAsTagDecl(); in GetCompleteEnumType()
3796 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp594 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
H A DSemaCXXScopeSpec.cpp207 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
H A DSemaStmtAsm.cpp834 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
H A DSemaStmt.cpp320 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
H A DSemaDeclCXX.cpp3603 if (const TagDecl *TD = T->getAsTagDecl()) in ActOnCXXMemberDeclarator()
12301 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
H A DSemaExprCXX.cpp719 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
H A DSemaDecl.cpp17641 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3214 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create()
3216 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
H A DType.cpp1883 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()
1887 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl()
1890 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
H A DExpr.cpp1623 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3764 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
H A DType.h2760 TagDecl *getAsTagDecl() const;