c/clang:anonymous record
This commit is contained in:
@@ -72,6 +72,12 @@ enum CX_CXXAccessSpecifier wrap_clang_getCXXAccessSpecifier(CXCursor *cursor) {
|
||||
return clang_getCXXAccessSpecifier(*cursor);
|
||||
}
|
||||
|
||||
unsigned wrap_clang_Cursor_isAnonymous(CXCursor *cursor) { return clang_Cursor_isAnonymous(*cursor); }
|
||||
|
||||
unsigned wrap_clang_Cursor_isAnonymousRecordDecl(CXCursor *cursor) {
|
||||
return clang_Cursor_isAnonymousRecordDecl(*cursor);
|
||||
}
|
||||
|
||||
CXString wrap_clang_Cursor_getRawCommentText(CXCursor *cursor) { return clang_Cursor_getRawCommentText(*cursor); }
|
||||
|
||||
void wrap_clang_getCursorExtent(CXCursor *cur, CXSourceRange *range) { *range = clang_getCursorExtent(*cur); }
|
||||
|
||||
@@ -1673,6 +1673,32 @@ func (c Cursor) Location() (loc SourceLocation) {
|
||||
return
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the given cursor represents an anonymous
|
||||
* tag or namespace
|
||||
*/
|
||||
// llgo:link (*Cursor).wrapIsAnonymous C.wrap_clang_Cursor_isAnonymous
|
||||
func (c *Cursor) wrapIsAnonymous() (ret c.Uint) {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (c Cursor) IsAnonymous() (ret c.Uint) {
|
||||
return c.wrapIsAnonymous()
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the given cursor represents an anonymous record
|
||||
* declaration.
|
||||
*/
|
||||
// llgo:link (*Cursor).wrapIsAnonymousRecordDecl C.wrap_clang_Cursor_isAnonymousRecordDecl
|
||||
func (c *Cursor) wrapIsAnonymousRecordDecl() (ret c.Uint) {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (c Cursor) IsAnonymousRecordDecl() (ret c.Uint) {
|
||||
return c.wrapIsAnonymousRecordDecl()
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents the C++ access control level to a base class for a
|
||||
* cursor with kind CX_CXXBaseSpecifier.
|
||||
|
||||
Reference in New Issue
Block a user