Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp97 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
98 p = {enumerator_decl, ctx}; in RegisterPersistentDecl()
100 ConstString(enumerator_decl->getNameAsString()).GetCString(), p)); in RegisterPersistentDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8517 clang::EnumConstantDecl *enumerator_decl = in AddEnumerationValueToEnumerationType() local
8520 enumerator_decl->setDeclContext(enutype->getDecl()); in AddEnumerationValueToEnumerationType()
8522 enumerator_decl->setDeclName(&getASTContext().Idents.get(name)); in AddEnumerationValueToEnumerationType()
8523 enumerator_decl->setType(clang::QualType(enutype, 0)); in AddEnumerationValueToEnumerationType()
8524 enumerator_decl->setInitVal(getASTContext(), value); in AddEnumerationValueToEnumerationType()
8525 SetMemberOwningModule(enumerator_decl, enutype->getDecl()); in AddEnumerationValueToEnumerationType()
8527 if (!enumerator_decl) in AddEnumerationValueToEnumerationType()
8530 enutype->getDecl()->addDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
8532 VerifyDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
8533 return enumerator_decl; in AddEnumerationValueToEnumerationType()