Home
last modified time | relevance | path

Searched refs:enumerator_decl (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp96 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
97 p = {enumerator_decl, ctx}; in RegisterPersistentDecl()
99 ConstString(enumerator_decl->getNameAsString()).GetCString(), p)); in RegisterPersistentDecl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8478 clang::EnumConstantDecl *enumerator_decl = in AddEnumerationValueToEnumerationType() local
8480 enumerator_decl->setDeclContext(enutype->getDecl()); in AddEnumerationValueToEnumerationType()
8482 enumerator_decl->setDeclName(&getASTContext().Idents.get(name)); in AddEnumerationValueToEnumerationType()
8483 enumerator_decl->setType(clang::QualType(enutype, 0)); in AddEnumerationValueToEnumerationType()
8484 enumerator_decl->setInitVal(value); in AddEnumerationValueToEnumerationType()
8485 SetMemberOwningModule(enumerator_decl, enutype->getDecl()); in AddEnumerationValueToEnumerationType()
8487 if (!enumerator_decl) in AddEnumerationValueToEnumerationType()
8490 enutype->getDecl()->addDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
8492 VerifyDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
8493 return enumerator_decl; in AddEnumerationValueToEnumerationType()