Searched refs:enum_decl (Results 1 – 8 of 8) sorted by relevance
96 if (clang::EnumDecl *enum_decl = llvm::dyn_cast<clang::EnumDecl>(decl)) { in RegisterPersistentDecl() local97 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
381 clang::EnumDecl *enum_decl = in CanImport() local383 if (enum_decl) { in CanImport()384 if (GetDeclOrigin(enum_decl).Valid()) in CanImport()455 clang::EnumDecl *enum_decl = in Import() local457 if (enum_decl) { in Import()458 if (GetDeclOrigin(enum_decl).Valid()) in Import()
133 declaration enum_decl; member
315 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()
204 decl = &def->def.un.enum_decl; in puniondef()
291 defp->def.un.enum_decl = dec; in def_union()
2312 EnumDecl *enum_decl = EnumDecl::CreateDeserialized(ast, GlobalDeclID()); in CreateEnumerationType() local2313 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 …]
512 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType() local513 assert(enum_decl); in CreateLLDBTypeFromPDBType()514 m_uid_to_decl[type.getSymIndexId()] = enum_decl; in CreateLLDBTypeFromPDBType()