[cfe-dev] C# Wrapper for Clang's C API

Mikael Lyngvig mikael at lyngvig.org
Fri Jun 15 02:49:42 PDT 2012

You might benefit from teaming up with the guy behind LLVM-F# (google it).
 He has already done a great job of converting the C API to F# and it is
usable from C#.



2012/6/15 MrUnleaded <mrunleaded at gmail.com>

> Hello, I have been working on a C# wrapper for Clang and it is coming
> along well so far but I have run into a problem with a particular kind of
> Cursor.
> When I run into CXCursor_IntegerLiteral cursors I am not sure how I can
> obtain the literal that the cursor refers to using the API. I have looked
> through llvm a bit to try and find an answer but I have yet to find a
> solution.
> Is there a simple way to grab the number or value from the Cursor using
> the C api?
> I have a similar question in regards to the CXCursor_BinaryOperator kind.
> I am unsure as to how to determine what type of operator it is.
> Any hints would be greatly appreciated.
> Thanks
> --
> Kevin
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120615/e5fcb848/attachment.html>

More information about the cfe-dev mailing list