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

Jacob Carlborg doob at me.com
Thu Jun 14 23:40:58 PDT 2012


On 2012-06-15 05:00, MrUnleaded wrote:
> 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 haven't been able to find a way either. Note that far from everything 
is exposed in the C API.

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list