Displaying 1 result from an estimated 1 matches for "clang_getcstring".
2013 Jul 22
0
[LLVMdev] Libclang get class name from DeclRefExpr
...hich outputs:
"[(DFDataModelContainer).dataModels addObject:helpmeh]"
if (cursor.kind == CXCursor_ObjCMessageExpr) {
__block NSString* memberName = nil;
__block NSString* ownerClassName = nil;
__block NSString* methodName = [NSString
stringWithUTF8String:clang_getCString(clang_getCursorDisplayName(cursor))];
clang_visitChildrenWithBlock(cursor, ^enum
CXChildVisitResult(CXCursor cursor, CXCursor parent) {
if (cursor.kind == CXCursor_MemberRefExpr) {
memberName = [NSString
stringWithUTF8String:clang_getCString(clang_getCursor...