Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtil.cpp65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp476 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
H A DCGOpenMPRuntime.cpp3018 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 …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h243 assert(qt->getAsTagDecl() == nullptr || in GetType()
244 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
H A DTypeSystemClang.cpp3759 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp594 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
H A DSemaCXXScopeSpec.cpp232 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
H A DSemaStmtAsm.cpp834 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
H A DSemaStmt.cpp315 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
H A DSemaExprCXX.cpp722 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
H A DSemaDeclCXX.cpp3744 if (const TagDecl *TD = T->getAsTagDecl()) in ActOnCXXMemberDeclarator()
12384 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
H A DSemaDecl.cpp17836 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1820 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
H A DDeclCXX.cpp3183 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create()
3185 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
H A DExpr.cpp1593 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3750 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
H A DType.h2507 TagDecl *getAsTagDecl() const;