diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-01 22:42:01 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-01 22:42:01 +0000 |
commit | 0b7e507247c9803d5dc3ed8af6da1ddd178a5737 (patch) | |
tree | 0561fc689f20ba8cc44fe26a1e6651068ab2a2cf /tools/llvm-upgrade/UpgradeParser.cpp.cvs | |
parent | cb90249ecb66ac88a20439daec6576e4726b1a60 (diff) | |
download | external_llvm-0b7e507247c9803d5dc3ed8af6da1ddd178a5737.zip external_llvm-0b7e507247c9803d5dc3ed8af6da1ddd178a5737.tar.gz external_llvm-0b7e507247c9803d5dc3ed8af6da1ddd178a5737.tar.bz2 |
Don't convert {} into []!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/UpgradeParser.cpp.cvs')
-rw-r--r-- | tools/llvm-upgrade/UpgradeParser.cpp.cvs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/tools/llvm-upgrade/UpgradeParser.cpp.cvs index 6ac134a..6c1880c 100644 --- a/tools/llvm-upgrade/UpgradeParser.cpp.cvs +++ b/tools/llvm-upgrade/UpgradeParser.cpp.cvs @@ -2279,7 +2279,7 @@ yyreduce: 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; @@ -2386,7 +2386,7 @@ yyreduce: { (yyval.Const).type = (yyvsp[-2].Type); (yyval.Const).cnst = new std::string(*(yyvsp[-2].Type).newTy); - *(yyval.Const).cnst += " [ ]"; + *(yyval.Const).cnst += " {}"; ;} break; |