Displaying 2 results from an estimated 2 matches for "compound_stmts".
Did you mean:
compound_stmt
2016 May 08
2
typedef not present in the python AST
Hello,
I'm trying to use the python libclang bindings to write a C++
style-checker, and I'd like to detect all the typedefs to recommend
switching to using. I'm using libclang 3.8, with the python bindings
provided with it.
When I parse a file with
index = clang.cindex.Index.create()
tu = index.parse(f, ['-x', 'c++', '-std=c++11', '-fsyntax-only',
2019 May 28
1
Re: [libnbd PATCH 2/4] api: Rearrange flags argument to block_status
Patches 1 & 2 are fine, ACK. I have a separate comment about patch 4
coming up.
In libguestfs we handle optional args by putting them in a
separate list (so instead of { args; ret } we have we have
{ args; optargs; ret }).
This gets translated into a language like Python in the natural
way. However for C it's translated into a varargs list with
a rather complex system of flags, see: