Displaying 2 results from an estimated 2 matches for "libcang".
Did you mean:
libclang
2013 Dec 10
0
[LLVMdev] libcang python bindings and working with macros question
How do I obtain the data that a macro points to, both expanded and
unexpanded.
in example I have a file named "blah.c" with the following.
"""
#define TESTA 1
#define TESTB 2 + TESTA
"""
I modified util.py's get_cursor to look at the displayname also, as
spelling won't match the macroname.
"""
for cursor in children:
if
2013 Dec 11
0
[LLVMdev] libcang python bindings and working with macros question
How do I obtain the data that a macro points to, both expanded and
unexpanded.
in example I have a file named "blah.c" with the following.
"""
#define TESTA 1
#define TESTB 2 + TESTA
"""
I modified util.py's get_cursor to look at the displayname also, as
spelling won't match the macroname.
"""
for cursor in children:
if