summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/llvm-upgrade/UpgradeParser.cpp.cvs2
-rw-r--r--tools/llvm-upgrade/UpgradeParser.y.cvs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-upgrade/UpgradeParser.cpp.cvs b/tools/llvm-upgrade/UpgradeParser.cpp.cvs
index 9859bd486c4..602fc36b3b0 100644
--- a/tools/llvm-upgrade/UpgradeParser.cpp.cvs
+++ b/tools/llvm-upgrade/UpgradeParser.cpp.cvs
@@ -3772,7 +3772,7 @@ yyreduce:
#line 1469 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeParser.y"
{
if (*(yyvsp[-5].String) == "%llvm.va_start" || *(yyvsp[-5].String) == "%llvm.va_end") {
- *(yyvsp[-3].String) = "i8* ";
+ *(yyvsp[-3].String) = "i8*";
} else if (*(yyvsp[-5].String) == "%llvm.va_copy") {
*(yyvsp[-3].String) = "i8*, i8*";
}
diff --git a/tools/llvm-upgrade/UpgradeParser.y.cvs b/tools/llvm-upgrade/UpgradeParser.y.cvs
index f44804e4539..2b2d1ecd521 100644
--- a/tools/llvm-upgrade/UpgradeParser.y.cvs
+++ b/tools/llvm-upgrade/UpgradeParser.y.cvs
@@ -1468,7 +1468,7 @@ ArgList : ArgListH {
FunctionHeaderH
: OptCallingConv TypesV Name '(' ArgList ')' OptSection OptAlign {
if (*$3 == "%llvm.va_start" || *$3 == "%llvm.va_end") {
- *$5 = "i8* ";
+ *$5 = "i8*";
} else if (*$3 == "%llvm.va_copy") {
*$5 = "i8*, i8*";
}