| ... | @@ -4079,7 +4079,7 @@ static AstNode *trans_ap_value(Context *c, APValue *ap_value, QualType qt, const | ... | @@ -4079,7 +4079,7 @@ static AstNode *trans_ap_value(Context *c, APValue *ap_value, QualType qt, const |
| 4079 | init_node->data.container_init_expr.type = arr_type_node; | 4079 | init_node->data.container_init_expr.type = arr_type_node; |
| 4080 | init_node->data.container_init_expr.kind = ContainerInitKindArray; | 4080 | init_node->data.container_init_expr.kind = ContainerInitKindArray; |
| 4081 | | 4081 | |
| 4082 | QualType child_qt = qt.getTypePtr()->getLocallyUnqualifiedSingleStepDesugaredType(); | 4082 | QualType child_qt = qt.getTypePtr()->getAsArrayTypeUnsafe()->getElementType(); |
| 4083 | | 4083 | |
| 4084 | for (size_t i = 0; i < init_count; i += 1) { | 4084 | for (size_t i = 0; i < init_count; i += 1) { |
| 4085 | APValue &elem_ap_val = ap_value->getArrayInitializedElt(i); | 4085 | APValue &elem_ap_val = ap_value->getArrayInitializedElt(i); |