<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/97514>97514</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [lldb] Unnamed zero enum is printed as empty string rather than `0x0`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          adalisk-emikhaylov
      </td>
    </tr>
</table>

<pre>
    This comes up a lot when using enums as "strong typedefs":
```p
enum E {};

int main()
{
    E x = E(0);
    E y = E(1);
    E z = E(2);
    return 0;
}
```
Here:
* `p x` prints empty string
* `p y` prints `0x1`
* `p z` prints `0x2`

This is somewhat annoying. It would be nice to print `0x0` for consistency

Tested on lldb 18.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkUlFvozwQ_DXmZdXI2BDggYdWNPq-97sfYPACvhobeU1T8utPkChpcxIysmZ2vLM7isgMDrFm-RvLm0QtcfShVlpZQx8vOJmPUa3Wfyat12v9azQEnZ-QYJlBgfURziM6WMi4AdAtE4EiYEJQDN4NENcZNfbEhGDylfGG8Vd25Ndvvt63MngHVryxomHy7cbaT-MiTMo4JkomqhtS3CgAAO_wBUw28M5EyTeK_AGudzD9F7zcQfEMBoxLcMAf7RTNU_fX638Y8OFMvMLmC77YkcMcjIsEOM1xBYrBuOGJtn6jsSPnX-ld9865PHPEg7Of-1IMAfkJz6OKoJzzq3HDAf6PcPaL1dAiONMhRH-VuiptLqD3ATrvyFBE160_lJEiavAOrNUtpOUh0bXUlaxUgnVapFVV8kxmyVjLIi_zHoXKK8GrPj32XXtMywpbWVa57BNTCy4yXnDJM8FldsCs5EXZF1q1vBdasozjpIw9WPs5HXwYEkO0YF0VeZolVrVoaY-pEA7PsINbqvImCfVW89IuA7GMW0ORHirRRLvne_PA8gZ-O6cm1HDB4PfIbsPbp4J6C-_3fUFQccQAcVTuMbNkCbYeY5xp27w4MXEaTByX9tD5iYnT9vbt9zIH_we7yMRp75iYOF0dfdbibwAAAP__-lEECQ">