<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/68864>68864</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bug?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
david-c-coder
</td>
</tr>
</table>
<pre>
it seems that clang does not allow to define variable after swithc() case:
case ID_QueryButton:
; //add a empty statement here to fix the problem. it seems that clang does not allow to define variable after case:
int i = 0;
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykUcHOnCAYfBq8fFmDoKscOPxmY9Jjn6AB-VQalA187nbfvtH-yZ82e-tc5sAMzDAmZz9viJo1PWtuhdlpiUk78_DuMl7G6DAVNrqXBk-QEdcMtBiCMZhtBhcxwxYJTAjxCRTB4eQ3hIdJ3tiAYCbCBPnpaRmZ6JhQMJqMTH4wfmP8Az7pHxwa-Hb78X3H9Op3orh9Wd6AyR6YGJgYjHNgANc7vSCTIVxxI1gw4RFv8r-AFoR7ijbgWsJ_1fq7yRv4jcADkzfgTPZ_dIXT0impTIG6uqq24pVoRbHoxnXKtpVSOLXtNDZdo-qmsdKgmJSsROG14EIeeq54VfHy2qi64sK6ydZ8qjpWc1yND2UIj7WMaS58zjvqa9dd6yIYiyGfSwux4RPOQybEMXzSh-di9zmzmgefKX_dQp4C6n6fmRyKPQW9EN3z0fz88tnTsttyjCsTw2H6pMs9xZ84EhPD-VRmYjij_A4AAP__fKK_1w">