case 107:
#line 329 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y"
{ // Empty structure type?
- (yyval.Type).newTy = new std::string("{ }");
+ (yyval.Type).newTy = new std::string("{}");
(yyval.Type).oldTy = StructTy;
;}
break;
{
(yyval.Const).type = (yyvsp[-2].Type);
(yyval.Const).cnst = new std::string(*(yyvsp[-2].Type).newTy);
- *(yyval.Const).cnst += " [ ]";
+ *(yyval.Const).cnst += " {}";
;}
break;
case 107:
#line 329 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y"
{ // Empty structure type?
- (yyval.Type).newTy = new std::string("{ }");
+ (yyval.Type).newTy = new std::string("{}");
(yyval.Type).oldTy = StructTy;
;}
break;
{
(yyval.Const).type = (yyvsp[-2].Type);
(yyval.Const).cnst = new std::string(*(yyvsp[-2].Type).newTy);
- *(yyval.Const).cnst += " [ ]";
+ *(yyval.Const).cnst += " {}";
;}
break;
$$.oldTy = StructTy;
}
| '{' '}' { // Empty structure type?
- $$.newTy = new std::string("{ }");
+ $$.newTy = new std::string("{}");
$$.oldTy = StructTy;
}
| UpRTypes '*' { // Pointer type?
| Types '{' '}' {
$$.type = $1;
$$.cnst = new std::string(*$1.newTy);
- *$$.cnst += " [ ]";
+ *$$.cnst += " {}";
}
| Types NULL_TOK {
$$.type = $1;
$$.oldTy = StructTy;
}
| '{' '}' { // Empty structure type?
- $$.newTy = new std::string("{ }");
+ $$.newTy = new std::string("{}");
$$.oldTy = StructTy;
}
| UpRTypes '*' { // Pointer type?
| Types '{' '}' {
$$.type = $1;
$$.cnst = new std::string(*$1.newTy);
- *$$.cnst += " [ ]";
+ *$$.cnst += " {}";
}
| Types NULL_TOK {
$$.type = $1;