Home
last modified time | relevance | path

Searched refs:getAsTagDecl (Results 1 – 23 of 23) 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/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h186 if (auto *BaseDecl = BaseSpecifier.getType()->getAsTagDecl()) { in getBases()
258 auto *Tag = D.getType()->getAsTagDecl(); in maybeMergeWithAnonymousTag()
261 Tag = AT->getElementType()->getAsTagDecl(); in maybeMergeWithAnonymousTag()
1173 if (auto *TagDecl = Decl->getUnderlyingType()->getAsTagDecl()) { in VisitTypedefNameDecl()
1545 const auto *TagTypeDecl = Declarator->getType()->getAsTagDecl(); in fetchRawCommentForDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp64 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp475 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp121 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
H A DCGOpenMPRuntime.cpp3009 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitProxyTaskFunction()
3012 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitProxyTaskFunction()
3107 cast<RecordDecl>(KmpTaskTWithPrivatesQTy->getAsTagDecl()); in emitDestructorsFunction()
3111 cast<RecordDecl>(FI->getType()->getAsTagDecl())->fields()) { in emitDestructorsFunction()
3215 const auto *PrivatesQTyRD = cast<RecordDecl>(PrivatesQTy->getAsTagDecl()); in emitTaskPrivateMappingFunction()
3262 FI = cast<RecordDecl>(FI->getType()->getAsTagDecl())->field_begin(); in emitPrivatesInit()
3658 const auto *KmpTaskTQTyRD = cast<RecordDecl>(KmpTaskTQTy->getAsTagDecl()); in emitTaskInit()
4029 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in getDepobjElements()
4058 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDependData()
4330 cast<RecordDecl>(KmpDependInfoTy->getAsTagDecl()); in emitDepobjDependClause()
[all …]
H A DCGDecl.cpp1988 hasNoTrivialAutoVarInitAttr(type->getAsTagDecl()) || in EmitAutoVarInit()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h248 assert(qt->getAsTagDecl() == nullptr || in GetType()
249 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
H A DTypeSystemClang.cpp2665 auto *tag_decl = enum_type->getAsTagDecl(); in GetCompleteEnumType()
3822 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp590 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
H A DSemaCXXScopeSpec.cpp202 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
H A DSemaStmtAsm.cpp874 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
H A DAnalysisBasedWarnings.cpp2482 if (const auto *D = destType->getAsTagDecl()) in handleUnsafeOperation()
H A DSemaDeclCXX.cpp3410 if (const TagDecl *TD = T->getAsTagDecl()) in HasAttribute()
12136 D = SugaredType->getAsTagDecl(); in isStdClassTemplate()
12169 ReportMatchingNameAsMalformed(SugaredType->getAsTagDecl()); in isStdClassTemplate()
12628 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
H A DSemaStmt.cpp332 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnused()
H A DSemaExprCXX.cpp706 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
H A DSemaDecl.cpp15280 const auto *TD = QT->getAsTagDecl(); in warnOnCTypeHiddenInCPlusPlus()
18152 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1930 return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl()); in getAsCXXRecordDecl()
1934 return dyn_cast_or_null<RecordDecl>(getAsTagDecl()); in getAsRecordDecl()
1937 TagDecl *Type::getAsTagDecl() const { in getAsTagDecl() function in Type
2520 if (getAsTagDecl()) in isAlwaysIncompleteType()
H A DDeclCXX.cpp3439 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create()
3441 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
H A DExpr.cpp1641 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3827 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
H A DType.h2838 TagDecl *getAsTagDecl() const;