summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-16 13:37:30 +0000
committerDan Gohman <gohman@apple.com>2007-07-16 13:37:30 +0000
commitc6e67a6126825c048ba835dd8720fdb047627a93 (patch)
treeac3c6327f0c2d0212e5bebe5cd05a981eccc38c9
parenta5d30d5d83270ecc1681bf2dafd0f6ce659d266e (diff)
downloadbcm5719-llvm-c6e67a6126825c048ba835dd8720fdb047627a93.tar.gz
bcm5719-llvm-c6e67a6126825c048ba835dd8720fdb047627a93.zip
Remove the trailing semicolon from function declarations in LLVM,
where it's interpreted as a comment, not part of the syntax. llvm-svn: 39920
-rw-r--r--llvm/test/CodeGen/Generic/badCallArgLRLLVM.ll2
-rw-r--r--llvm/test/CodeGen/PowerPC/big-endian-call-result.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Generic/badCallArgLRLLVM.ll b/llvm/test/CodeGen/Generic/badCallArgLRLLVM.ll
index 5e931385ffb..734d2b270b2 100644
--- a/llvm/test/CodeGen/Generic/badCallArgLRLLVM.ll
+++ b/llvm/test/CodeGen/Generic/badCallArgLRLLVM.ll
@@ -10,7 +10,7 @@
;
implementation ; Functions:
-declare int %getInt(int);
+declare int %getInt(int)
int %main(int %argc, sbyte** %argv) {
bb0: ;[#uses=0]
diff --git a/llvm/test/CodeGen/PowerPC/big-endian-call-result.ll b/llvm/test/CodeGen/PowerPC/big-endian-call-result.ll
index 4885a623613..ab136f65d27 100644
--- a/llvm/test/CodeGen/PowerPC/big-endian-call-result.ll
+++ b/llvm/test/CodeGen/PowerPC/big-endian-call-result.ll
@@ -3,7 +3,7 @@
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
; RUN: grep {addze 3, 3}
-declare i64 @foo();
+declare i64 @foo()
define i64 @bar()
{
OpenPOWER on IntegriCloud