Fix handling unused typedefs in interop
This commit is contained in:
committed by
SvyatoslavScherbina
parent
9ad17f5e48
commit
29fb37bdb8
@@ -285,6 +285,11 @@ internal class NativeIndexImpl(val library: NativeLibrary) : NativeIndex() {
|
||||
getStructDeclAt(cursor)
|
||||
}
|
||||
|
||||
CXIdxEntity_Typedef -> {
|
||||
val type = clang_getCursorType(cursor)
|
||||
getTypedef(type)
|
||||
}
|
||||
|
||||
CXIdxEntity_Function -> {
|
||||
val name = entityName!!
|
||||
val returnType = convertType(clang_getCursorResultType(cursor))
|
||||
|
||||
Reference in New Issue
Block a user