<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/136055>136055</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[CIR] Upstream enum support
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
ClangIR
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
andykaylor
</td>
</tr>
</table>
<pre>
### Overview
Upstream support for enum types. This is mostly handled by the AST builder. We just need to handle the decl type.
### Suggested minimal test case
```
enum A {
A_one,
A_two
};
A a;
```
### Existing incubator tests
One test case in basic.cpp
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUkkFvnDAQhX-NuYyCjMFs9sCB7HalnCIlqXqMbDyAU2Mjj9mUf19BVkkrjeSx_PTm0_gpIjt4xIbJBybPmVrSGGKjvFl_q9WFmOlg1oaJ8rPg6YrxavGD8fbnTCmimoCWeQ4xQR8ioF8mSOuMlMPraAkswRQouRVG5Y1DA3qFNCK0L6-gF-sMxhx-IbwvlMAjGkjhpt11Bju3O-aMt1t9sbwsw4CU0MBkvZ2Ug4SUoFOEm67mt-LtTtUCOzww3kL7Fjwycdp6aN_SR9jkhzMrt-cW1Gfzr8F_c3_8sZSsH8D6btEqhbgPJsbbJ4_fEGA9aEW2y7t5ZrzNTFOaY3lUGTbFoaruq_rAq2xssOBSl11fyx6VqtVRS60Oh6Kva1XpQma2EVxIXhW1KMt7UeWdrHtd3xdHw3vZV5pVHCdlXe7cdcpDHDJLtGBTlDWXMnNKo6P9k4UYQjDQ20gJdhETYluGECen_PD4vN3lOYvN5nWnl4FYxZ2lRN_uySa3h-b0-MzkGb6ysG_6Fohsia4ZU5qJlS0TFyYug03jovMuTExcNrfbcTfH8I5dYuKyMxETlxv7tRF_AwAA__-9i9Pr">