Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangPersistentVariables.cpp94 for (clang::EnumConstantDecl *enumerator_decl : enum_decl->enumerators()) { in RegisterPersistentDecl()
95 p = {enumerator_decl, ctx}; in RegisterPersistentDecl()
97 ConstString(enumerator_decl->getNameAsString()).GetCString(), p)); in RegisterPersistentDecl()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8300 clang::EnumConstantDecl *enumerator_decl = in AddEnumerationValueToEnumerationType() local
8302 enumerator_decl->setDeclContext(enutype->getDecl()); in AddEnumerationValueToEnumerationType()
8304 enumerator_decl->setDeclName(&getASTContext().Idents.get(name)); in AddEnumerationValueToEnumerationType()
8305 enumerator_decl->setType(clang::QualType(enutype, 0)); in AddEnumerationValueToEnumerationType()
8306 enumerator_decl->setInitVal(value); in AddEnumerationValueToEnumerationType()
8307 SetMemberOwningModule(enumerator_decl, enutype->getDecl()); in AddEnumerationValueToEnumerationType()
8309 if (!enumerator_decl) in AddEnumerationValueToEnumerationType()
8312 enutype->getDecl()->addDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
8314 VerifyDecl(enumerator_decl); in AddEnumerationValueToEnumerationType()
8315 return enumerator_decl; in AddEnumerationValueToEnumerationType()