[LLVMbugs] [Bug 1635] New: Syntax for 'call' Instruction is wrong
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Sep 2 08:27:38 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1635
Summary: Syntax for 'call' Instruction is wrong
Product: Documentation
Version: trunk
Platform: All
URL: http://llvm.org/docs/LangRef.html
OS/Version: All
Status: ASSIGNED
Severity: normal
Priority: P2
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1099)
--> (http://llvm.org/bugs/attachment.cgi?id=1099)
Proposed change to LangRef.html
Currently the syntax for the call instruction reads:
<result> = [tail] call [cconv] <ty>* <fnptrval>(<param list>)
Which is mistaken. A long syntax call instruction has two types, one for the
CallInst itself (aka. the return type) and an optional one for the fnptrval.
The current documentation claims that <ty>* is optional, implying that a call
can be written with no type at all.
Please review the attached patch.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list