Home
last modified time | relevance | path

Searched refs:enum_decl (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp96 if (clang::EnumDecl *enum_decl = llvm::dyn_cast<clang::EnumDecl>(decl)) { in RegisterPersistentDecl() local
97 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
H A DClangASTImporter.cpp381 clang::EnumDecl *enum_decl = in CanImport() local
383 if (enum_decl) { in CanImport()
384 if (GetDeclOrigin(enum_decl).Valid()) in CanImport()
455 clang::EnumDecl *enum_decl = in Import() local
457 if (enum_decl) { in Import()
458 if (GetDeclOrigin(enum_decl).Valid()) in Import()
/freebsd/usr.bin/rpcgen/
H A Drpc_parse.h133 declaration enum_decl; member
H A Drpc_cout.c315 print_stat(1, &def->def.un.enum_decl); in emit_union()
316 f_print(fout, "\tswitch (objp->%s) {\n", def->def.un.enum_decl.name); in emit_union()
H A Drpc_hout.c204 decl = &def->def.un.enum_decl; in puniondef()
H A Drpc_parse.c291 defp->def.un.enum_decl = dec; in def_union()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2312 EnumDecl *enum_decl = EnumDecl::CreateDeserialized(ast, GlobalDeclID()); in CreateEnumerationType() local
2313 enum_decl->setDeclContext(decl_ctx); in CreateEnumerationType()
2315 enum_decl->setDeclName(&ast.Idents.get(name)); in CreateEnumerationType()
2316 enum_decl->setScoped(is_scoped); in CreateEnumerationType()
2317 enum_decl->setScopedUsingClassTag(is_scoped); in CreateEnumerationType()
2318 enum_decl->setFixed(false); in CreateEnumerationType()
2319 SetOwningModule(enum_decl, owning_module); in CreateEnumerationType()
2321 decl_ctx->addDecl(enum_decl); in CreateEnumerationType()
2324 enum_decl->setIntegerType(ClangUtil::GetQualType(integer_clang_type)); in CreateEnumerationType()
2326 enum_decl->setAccess(AS_public); // TODO respect what's in the debug info in CreateEnumerationType()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp512 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType() local
513 assert(enum_decl); in CreateLLDBTypeFromPDBType()
514 m_uid_to_decl[type.getSymIndexId()] = enum_decl; in CreateLLDBTypeFromPDBType()