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.cpp380 clang::EnumDecl *enum_decl = in CanImport() local
382 if (enum_decl) { in CanImport()
383 if (GetDeclOrigin(enum_decl).Valid()) in CanImport()
454 clang::EnumDecl *enum_decl = in Import() local
456 if (enum_decl) { in Import()
457 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.cpp2324 EnumDecl *enum_decl = EnumDecl::CreateDeserialized(ast, GlobalDeclID()); in CreateEnumerationType() local
2325 enum_decl->setDeclContext(decl_ctx); in CreateEnumerationType()
2327 enum_decl->setDeclName(&ast.Idents.get(name)); in CreateEnumerationType()
2328 enum_decl->setScoped(is_scoped); in CreateEnumerationType()
2329 enum_decl->setScopedUsingClassTag(is_scoped); in CreateEnumerationType()
2330 enum_decl->setFixed(false); in CreateEnumerationType()
2331 SetOwningModule(enum_decl, owning_module); in CreateEnumerationType()
2333 decl_ctx->addDecl(enum_decl); in CreateEnumerationType()
2336 enum_decl->addAttr( in CreateEnumerationType()
2340 enum_decl->setIntegerType(ClangUtil::GetQualType(integer_clang_type)); 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()