Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtil.cpp65 return qual_type->getAsTagDecl(); in GetAsTagDecl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp225 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()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp475 llvm::dyn_cast_or_null<EnumDecl>(Loc.getType()->getAsTagDecl())) in getSupportedDeclFromTypeLoc()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp81 if (auto *TD = QTy->getAsTagDecl()) in TypeHasMayAlias()
H A DCGOpenMPRuntime.cpp3220 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 …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h242 assert(qt->getAsTagDecl() == nullptr || in GetType()
243 &qt->getAsTagDecl()->getASTContext() == &getASTContext()); in GetType()
H A DTypeSystemClang.cpp3834 if (auto *named_decl = qual_type->getAsTagDecl()) in GetTypeName()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp588 return std::next(CRD->bases_begin(), N)->getType()->getAsTagDecl(); in getParamDecl()
H A DSemaCXXScopeSpec.cpp213 tag = type->getAsTagDecl(); in RequireCompleteDeclContext()
H A DSemaStmtAsm.cpp832 FoundDecl = PT->getPointeeType()->getAsTagDecl(); in LookupInlineAsmField()
H A DSemaStmt.cpp314 if (const TagDecl *TD = ILE->getType()->getAsTagDecl()) { in DiagnoseUnusedExprResult()
H A DSemaExprCXX.cpp716 const auto *TD = Ty->getAsTagDecl(); in getUuidAttrOfType()
H A DSemaDeclCXX.cpp11945 auto *Enum = dyn_cast_if_present<EnumDecl>(EnumTy->getAsTagDecl()); in ActOnUsingEnumDeclaration()
H A DSemaDecl.cpp17228 auto *TD = Context.getTagDeclType(PrevTagDecl)->getAsTagDecl(); in ActOnTag()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp1784 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
H A DDeclCXX.cpp3129 assert(isa<EnumDecl>(EnumType->getType()->getAsTagDecl())); in Create()
3131 UsingEnumDecl(DC, EnumType->getType()->getAsTagDecl()->getDeclName(), UL, EL, NL, EnumType); in Create()
H A DExpr.cpp1605 if (const TagDecl *TD = getCallReturnType(Ctx)->getAsTagDecl()) in getUnusedResultAttr()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h3670 EnumDecl *getEnumDecl() const { return cast<EnumDecl>(EnumType->getType()->getAsTagDecl()); } in getEnumDecl()
H A DType.h2396 TagDecl *getAsTagDecl() const;
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp1751 auto *underlyingDecl = TL.getUnderlyingType()->getAsTagDecl(); in VisitUsingTypeLoc()