Displaying 2 results from an estimated 2 matches for "cxchildvisit_recurse".
2019 Jul 12
2
[clang][AST] : extern "C" symbols not present or not visited when traversing TU decl
Hi,
I'm using clang ast for a while now to do meta compilation, and I just fell
into a problem
when trying to parse vulkan library which has extern "C" in it.
Every symbol inside extern "C" seem to be striped from the TU and ast.
I tried to #undef __cplusplus and this time I got the symbols into the AST.
I first supposed it was a problem with missing includes or else, but
2013 Jul 22
0
[LLVMdev] Libclang get class name from DeclRefExpr
...ent) {
// test
if ([param isEqualToString:@"helpmeh"] &&
cursor.kind == CXCursor_DeclRefExpr) {
// found the interesting part.. what now?
}
return CXChildVisit_Recurse;
}
}
}
return CXChildVisit_Continue;
}
}
I'm just a bit lost as to how to extract information from cursors- when
I AST dump my class I can see the information I need is all there (see
the last line):
|-ObjCMethodD...