Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp93 if (clang::EnumDecl *enum_decl = llvm::dyn_cast<clang::EnumDecl>(decl)) { in RegisterPersistentDecl() local
94 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
H A DClangASTImporter.cpp377 clang::EnumDecl *enum_decl = in CanImport() local
379 if (enum_decl) { in CanImport()
380 if (GetDeclOrigin(enum_decl).Valid()) in CanImport()
451 clang::EnumDecl *enum_decl = in Import() local
453 if (enum_decl) { in Import()
454 if (GetDeclOrigin(enum_decl).Valid()) in Import()
/llvm-project-15.0.7/lldb/unittests/SymbolFile/PDB/
H A DSymbolFilePDBTests.cpp495 clang::EnumDecl *enum_decl = TypeSystemClang::GetAsEnumDecl(compiler_type); in TEST_F() local
496 EXPECT_NE(nullptr, enum_decl); in TEST_F()
497 EXPECT_EQ(2, std::distance(enum_decl->enumerator_begin(), in TEST_F()
498 enum_decl->enumerator_end())); in TEST_F()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2323 enum_decl->setScoped(is_scoped); in CreateEnumerationType()
2325 enum_decl->setFixed(false); in CreateEnumerationType()
2328 decl_ctx->addDecl(enum_decl); in CreateEnumerationType()
5560 if (enum_decl) { in ForEachEnumerator()
8230 clang::EnumDecl *enum_decl = in SetHasExternalStorage() local
8232 if (enum_decl) { in SetHasExternalStorage()
8366 enum_decl->completeDefinition(enum_decl->getIntegerType(), in CompleteTagDeclarationDefinition()
8681 assert(enum_decl); in DumpValue()
8897 assert(enum_decl); in DumpEnumValue()
9262 clang::EnumDecl *enum_decl = in DumpTypeName() local
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp506 auto enum_decl = TypeSystemClang::GetAsEnumDecl(ast_enum); in CreateLLDBTypeFromPDBType() local
507 assert(enum_decl); in CreateLLDBTypeFromPDBType()
508 m_uid_to_decl[type.getSymIndexId()] = enum_decl; in CreateLLDBTypeFromPDBType()