http://llvm.org/bugs/show_bug.cgi?id=2752

           Summary: Ocaml bindings for parameter attributes
           Product: new-bugs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Created an attachment (id=1979)
 --> (http://llvm.org/bugs/attachment.cgi?id=1979)
Ocaml bindings for parameter attributes

I attach a patch for adding ocaml bindings for parameter attributes.

I think there is a bit of asymmetry in the respective APIs for function
declarations and call instructions. In particular, I couldn't find how to add
an attribute to the return type in a function declaration. I made a new
function for that, LLVMAddFunctionAttr.

I have also updated the test file, but didn't add any grep comments, because I
couldn't manage the run the tests on my system.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to