c/clang:displayname

This commit is contained in:
luoliwoshang
2024-09-09 15:45:09 +08:00
parent 74b48ff56b
commit 735953a262
2 changed files with 17 additions and 0 deletions

View File

@@ -2196,6 +2196,21 @@ func (c Cursor) String() (ret String) {
return c.wrapString()
}
/**
* Retrieve the display name for the entity referenced by this cursor.
*
* The display name contains extra information that helps identify the cursor,
* such as the parameters of a function or template or the arguments of a
* class template specialization.
*/
// llgo:link (*Cursor).wrapDisplayName C.wrap_clang_getCursorDisplayName
func (*Cursor) wrapDisplayName() (ret String) {
return
}
func (c Cursor) DisplayName() (ret String) {
return c.wrapDisplayName()
}
/**
* Returns non-zero if the given cursor is a variadic function or method.
*/