libclang

package libclang

Members list

Packages

package libclang.fluent

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXCallingConv

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXChoice

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXChoice.type
object CXClientData

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXCursor

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXCursor.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXCursorKind

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXCursorSet

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXDiagnostic

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXErrorCode

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXEvalResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXFile

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXFile.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXIdxAttrInfo

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXIdxAttrKind

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXIdxDeclInfo

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXIdxLoc

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXIdxLoc.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXIndex

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXIndex.type
object CXIndexAction

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXLinkageKind

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXModule

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXModule.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXRemapping

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXResult

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXResult.type
object CXSaveError

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXSourceRange

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXString

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXString.type
object CXStringSet

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXSymbolRole

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXTLSKind

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXTLSKind.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXTargetInfo

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXToken

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXToken.type
object CXTokenKind

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXType

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXType.type
object CXTypeKind

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXTypeKind.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXUnsavedFile

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CXVersion

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CXVersion.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object size_t

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
size_t.type
object time_t

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
time_t.type

Types

opaque type CXAvailabilityKind

Describes the availability of a particular entity, which indicates whether the use of this entity will result in a warning or error due to it being deprecated or unavailable.

Describes the availability of a particular entity, which indicates whether the use of this entity will result in a warning or error due to it being deprecated or unavailable.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXBinaryOperatorKind

Describes the kind of binary operators.

Describes the kind of binary operators.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCallingConv

Describes the calling convention of a function type

Describes the calling convention of a function type

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXChildVisitResult

Describes how the traversal of the children of a particular cursor should proceed after visiting a particular child cursor.

Describes how the traversal of the children of a particular cursor should proceed after visiting a particular child cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXChoice

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXClientData

Opaque pointer representing client data that will be passed through to various callbacks and visitors.

Opaque pointer representing client data that will be passed through to various callbacks and visitors.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCodeCompleteResults

Contains the results of code-completion.

Contains the results of code-completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCodeComplete_Flags

Flags that can be passed to clang_codeCompleteAt() to modify its behavior.

Flags that can be passed to clang_codeCompleteAt() to modify its behavior.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCompletionChunkKind

Describes a single piece of text within a code-completion string.

Describes a single piece of text within a code-completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCompletionContext

Bits that represent the context under which completion is occurring.

Bits that represent the context under which completion is occurring.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCompletionResult

A single result of code completion.

A single result of code completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCompletionString

A semantic string that describes a code-completion result.

A semantic string that describes a code-completion result.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCursor

A cursor representing some element in the abstract syntax tree for a translation unit.

A cursor representing some element in the abstract syntax tree for a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCursorKind

Describes the kind of entity that a cursor refers to.

Describes the kind of entity that a cursor refers to.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCursorSet

A fast container representing a set of CXCursors.

A fast container representing a set of CXCursors.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCursorSetImpl

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXCursorVisitor

Visitor invoked for each cursor found by a traversal.

Visitor invoked for each cursor found by a traversal.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

type CXCursorVisitorBlock = Unit

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Describes the exception specification of a cursor.

Describes the exception specification of a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXDiagnostic

A single diagnostic, containing the diagnostic's severity, location, text, source ranges, and fix-it hints.

A single diagnostic, containing the diagnostic's severity, location, text, source ranges, and fix-it hints.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Options to control the display of diagnostics.

Options to control the display of diagnostics.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

opaque type CXDiagnosticSet

A group of CXDiagnostics.

A group of CXDiagnostics.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

opaque type CXDiagnosticSeverity

Describes the severity of a particular diagnostic.

Describes the severity of a particular diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

opaque type CXErrorCode

Error codes returned by libclang routines.

Error codes returned by libclang routines.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXErrorCode.h

Attributes

opaque type CXEvalResult

Evaluation result of a cursor

Evaluation result of a cursor

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXEvalResultKind

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXFieldVisitor

Visitor invoked for each field found by a traversal.

Visitor invoked for each field found by a traversal.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXFile

A particular source file that is part of a translation unit.

A particular source file that is part of a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

opaque type CXFileUniqueID

Uniquely identifies a CXFile, that refers to the same underlying file, across an indexing session.

Uniquely identifies a CXFile, that refers to the same underlying file, across an indexing session.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

opaque type CXGlobalOptFlags

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxAttrInfo

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxAttrKind

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxBaseClassInfo

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxCXXClassDeclInfo

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxClientASTFile

The client's data object that is associated with an AST file (PCH or module).

The client's data object that is associated with an AST file (PCH or module).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxClientContainer

The client's data object that is associated with a semantic container of entities.

The client's data object that is associated with a semantic container of entities.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxClientEntity

The client's data object that is associated with a semantic entity.

The client's data object that is associated with a semantic entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxClientFile

The client's data object that is associated with a CXFile.

The client's data object that is associated with a CXFile.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxContainerInfo

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxDeclInfo

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxDeclInfoFlags

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Extra C++ template information for an entity. This can apply to: CXIdxEntity_Function CXIdxEntity_CXXClass CXIdxEntity_CXXStaticMethod CXIdxEntity_CXXInstanceMethod CXIdxEntity_CXXConstructor CXIdxEntity_CXXConversionFunction CXIdxEntity_CXXTypeAlias

Extra C++ template information for an entity. This can apply to: CXIdxEntity_Function CXIdxEntity_CXXClass CXIdxEntity_CXXStaticMethod CXIdxEntity_CXXInstanceMethod CXIdxEntity_CXXConstructor CXIdxEntity_CXXConversionFunction CXIdxEntity_CXXTypeAlias

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxEntityInfo

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxEntityKind

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxEntityLanguage

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxEntityRefInfo

Data for IndexerCallbacks#indexEntityReference.

Data for IndexerCallbacks#indexEntityReference.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxEntityRefKind

Data for IndexerCallbacks#indexEntityReference.

Data for IndexerCallbacks#indexEntityReference.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Data for IndexerCallbacks#importedASTFile.

Data for IndexerCallbacks#importedASTFile.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxIncludedFileInfo

Data for ppIncludedFile callback.

Data for ppIncludedFile callback.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIdxLoc

Source location passed to index callbacks.

Source location passed to index callbacks.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXInclusionVisitor

Visitor invoked for each file in a translation unit (used with clang_getInclusions()).

Visitor invoked for each file in a translation unit (used with clang_getInclusions()).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIndex

An "index" that consists of a set of translation units that would typically be linked together into an executable or library.

An "index" that consists of a set of translation units that would typically be linked together into an executable or library.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIndexAction

An indexing action/session, to be applied to one or multiple translation units.

An indexing action/session, to be applied to one or multiple translation units.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIndexOptFlags

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXIndexOptions

Index initialization options.

Index initialization options.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXLanguageKind

Describe the "language" of the entity referred to by a cursor.

Describe the "language" of the entity referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXLinkageKind

Describe the linkage of the entity referred to by a cursor.

Describe the linkage of the entity referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXLoadDiag_Error

Describes the kind of error that occurred (if any) in a call to clang_loadDiagnostics.

Describes the kind of error that occurred (if any) in a call to clang_loadDiagnostics.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

opaque type CXModule

The functions in this group provide access to information about modules.

The functions in this group provide access to information about modules.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXModuleMapDescriptor

Object encapsulating information about a module.map file.

Object encapsulating information about a module.map file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

opaque type CXNameRefFlags

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

'Qualifiers' written next to the return and parameter types in Objective-C method declarations.

'Qualifiers' written next to the return and parameter types in Objective-C method declarations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Property attributes for a CXCursor_ObjCPropertyDecl.

Property attributes for a CXCursor_ObjCPropertyDecl.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer.

Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXPrintingPolicy

Opaque pointer representing a policy that controls pretty printing for clang_getCursorPrettyPrinted.

Opaque pointer representing a policy that controls pretty printing for clang_getCursorPrettyPrinted.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Properties for the printing policy.

Properties for the printing policy.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXRefQualifierKind

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXRemapping

A remapping of original source files and their translated files.

A remapping of original source files and their translated files.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXReparse_Flags

Flags that control the reparsing of translation units.

Flags that control the reparsing of translation units.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXResult

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXSaveError

Describes the kind of error that occurred (if any) in a call to clang_saveTranslationUnit().

Describes the kind of error that occurred (if any) in a call to clang_saveTranslationUnit().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Flags that control how translation units are saved.

Flags that control how translation units are saved.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXSourceLocation

Identifies a specific source location within a translation unit.

Identifies a specific source location within a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

opaque type CXSourceRange

Identifies a half-open character range in the source code.

Identifies a half-open character range in the source code.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

opaque type CXSourceRangeList

Identifies an array of ranges.

Identifies an array of ranges.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

opaque type CXString

A character string.

A character string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

opaque type CXStringSet

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

opaque type CXSymbolRole

Roles that are attributed to symbol occurrences.

Roles that are attributed to symbol occurrences.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTLSKind

Describe the "thread-local storage (TLS) kind" of the declaration referred to by a cursor.

Describe the "thread-local storage (TLS) kind" of the declaration referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTUResourceUsage

The memory usage of a CXTranslationUnit, broken into categories.

The memory usage of a CXTranslationUnit, broken into categories.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTUResourceUsageKind

Categorizes how memory is being used by a translation unit.

Categorizes how memory is being used by a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTargetInfo

An opaque type representing target information for a given translation unit.

An opaque type representing target information for a given translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTargetInfoImpl

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Describes the kind of a template argument.

Describes the kind of a template argument.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXToken

Describes a single preprocessing token.

Describes a single preprocessing token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTokenKind

Describes a kind of token.

Describes a kind of token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTranslationUnit

A single translation unit, which resides in an index.

A single translation unit, which resides in an index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTranslationUnitImpl

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Flags that control the creation of translation units.

Flags that control the creation of translation units.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXType

The type of an element in the abstract syntax tree.

The type of an element in the abstract syntax tree.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTypeKind

Describes the kind of type

Describes the kind of type

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTypeLayoutError

List the possible error codes for clang_Type_getSizeOf, clang_Type_getAlignOf, clang_Type_getOffsetOf and clang_Cursor_getOffsetOf.

List the possible error codes for clang_Type_getSizeOf, clang_Type_getAlignOf, clang_Type_getOffsetOf and clang_Cursor_getOffsetOf.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXTypeNullabilityKind

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXUnaryOperatorKind

Describes the kind of unary operators.

Describes the kind of unary operators.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXUnsavedFile

Provides the contents of a file that has not yet been saved to disk.

Provides the contents of a file that has not yet been saved to disk.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXVersion

Describes a version number of the form major.minor.subminor.

Describes a version number of the form major.minor.subminor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXVirtualFileOverlay

Object encapsulating information about overlaying virtual file/directories over the real file system.

Object encapsulating information about overlaying virtual file/directories over the real file system.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

opaque type CXVisibilityKind

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CXVisitorResult

Attributes

opaque type CX_CXXAccessSpecifier

Represents the C++ access control level to a base class for a cursor with kind CX_CXXBaseSpecifier.

Represents the C++ access control level to a base class for a cursor with kind CX_CXXBaseSpecifier.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type CX_StorageClass

Represents the storage classes as declared in the source. CX_SC_Invalid was added for the case that the passed cursor in not a declaration.

Represents the storage classes as declared in the source. CX_SC_Invalid was added for the case that the passed cursor in not a declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

opaque type IndexerCallbacks

A group of callbacks used by #clang_indexSourceFile and #clang_indexTranslationUnit.

A group of callbacks used by #clang_indexSourceFile and #clang_indexTranslationUnit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

type size_t = size_t
type time_t = time_t

Value members

Concrete methods

def clang_CXCursorSet_contains(cset: CXCursorSet, cursor: CXCursor)(using Zone): CUnsignedInt

Queries a CXCursorSet to see if it contains a specific CXCursor.

Queries a CXCursorSet to see if it contains a specific CXCursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXCursorSet_contains(cset: CXCursorSet, cursor: Ptr[CXCursor]): CUnsignedInt

Queries a CXCursorSet to see if it contains a specific CXCursor.

Queries a CXCursorSet to see if it contains a specific CXCursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXCursorSet_insert(cset: CXCursorSet, cursor: Ptr[CXCursor]): CUnsignedInt

Inserts a CXCursor into a CXCursorSet.

Inserts a CXCursor into a CXCursorSet.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXCursorSet_insert(cset: CXCursorSet, cursor: CXCursor)(using Zone): CUnsignedInt

Inserts a CXCursor into a CXCursorSet.

Inserts a CXCursor into a CXCursorSet.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXIndex_getGlobalOptions(_0: CXIndex): CUnsignedInt

Gets the general options associated with a CXIndex.

Gets the general options associated with a CXIndex.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXIndex_setGlobalOptions(_0: CXIndex, options: CUnsignedInt): Unit

Sets general options associated with a CXIndex.

Sets general options associated with a CXIndex.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Sets the invocation emission path option in a CXIndex.

Sets the invocation emission path option in a CXIndex.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXConstructor_isConvertingConstructor(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ constructor is a converting constructor.

Determine if a C++ constructor is a converting constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine if a C++ constructor is a converting constructor.

Determine if a C++ constructor is a converting constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine if a C++ constructor is a copy constructor.

Determine if a C++ constructor is a copy constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXConstructor_isCopyConstructor(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ constructor is a copy constructor.

Determine if a C++ constructor is a copy constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXConstructor_isDefaultConstructor(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ constructor is the default constructor.

Determine if a C++ constructor is the default constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine if a C++ constructor is the default constructor.

Determine if a C++ constructor is the default constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXConstructor_isMoveConstructor(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ constructor is a move constructor.

Determine if a C++ constructor is a move constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine if a C++ constructor is a move constructor.

Determine if a C++ constructor is a move constructor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXField_isMutable(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ field is declared 'mutable'.

Determine if a C++ field is declared 'mutable'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXField_isMutable(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ field is declared 'mutable'.

Determine if a C++ field is declared 'mutable'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isConst(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ member function or member function template is declared 'const'.

Determine if a C++ member function or member function template is declared 'const'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isConst(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ member function or member function template is declared 'const'.

Determine if a C++ member function or member function template is declared 'const'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isCopyAssignmentOperator(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ member function is a copy-assignment operator, returning 1 if such is the case and 0 otherwise.

Determine if a C++ member function is a copy-assignment operator, returning 1 if such is the case and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine if a C++ member function is a copy-assignment operator, returning 1 if such is the case and 0 otherwise.

Determine if a C++ member function is a copy-assignment operator, returning 1 if such is the case and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isDefaulted(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ method is declared '= default'.

Determine if a C++ method is declared '= default'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isDefaulted(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ method is declared '= default'.

Determine if a C++ method is declared '= default'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isDeleted(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ method is declared '= delete'.

Determine if a C++ method is declared '= delete'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isDeleted(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ method is declared '= delete'.

Determine if a C++ method is declared '= delete'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isExplicit(C: Ptr[CXCursor]): CUnsignedInt

Determines if a C++ constructor or conversion function was declared explicit, returning 1 if such is the case and 0 otherwise.

Determines if a C++ constructor or conversion function was declared explicit, returning 1 if such is the case and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isExplicit(C: CXCursor)(using Zone): CUnsignedInt

Determines if a C++ constructor or conversion function was declared explicit, returning 1 if such is the case and 0 otherwise.

Determines if a C++ constructor or conversion function was declared explicit, returning 1 if such is the case and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine if a C++ member function is a move-assignment operator, returning 1 if such is the case and 0 otherwise.

Determine if a C++ member function is a move-assignment operator, returning 1 if such is the case and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isMoveAssignmentOperator(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ member function is a move-assignment operator, returning 1 if such is the case and 0 otherwise.

Determine if a C++ member function is a move-assignment operator, returning 1 if such is the case and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isPureVirtual(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ member function or member function template is pure virtual.

Determine if a C++ member function or member function template is pure virtual.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isPureVirtual(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ member function or member function template is pure virtual.

Determine if a C++ member function or member function template is pure virtual.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isStatic(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ member function or member function template is declared 'static'.

Determine if a C++ member function or member function template is declared 'static'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isStatic(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ member function or member function template is declared 'static'.

Determine if a C++ member function or member function template is declared 'static'.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isVirtual(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ member function or member function template is explicitly declared 'virtual' or if it overrides a virtual method from one of the base classes.

Determine if a C++ member function or member function template is explicitly declared 'virtual' or if it overrides a virtual method from one of the base classes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXMethod_isVirtual(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ member function or member function template is explicitly declared 'virtual' or if it overrides a virtual method from one of the base classes.

Determine if a C++ member function or member function template is explicitly declared 'virtual' or if it overrides a virtual method from one of the base classes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXRecord_isAbstract(C: CXCursor)(using Zone): CUnsignedInt

Determine if a C++ record is abstract, i.e. whether a class or struct has a pure virtual member function.

Determine if a C++ record is abstract, i.e. whether a class or struct has a pure virtual member function.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_CXXRecord_isAbstract(C: Ptr[CXCursor]): CUnsignedInt

Determine if a C++ record is abstract, i.e. whether a class or struct has a pure virtual member function.

Determine if a C++ record is abstract, i.e. whether a class or struct has a pure virtual member function.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

If cursor is a statement declaration tries to evaluate the statement and if its variable, tries to evaluate its initializer, into its corresponding type. If it's an expression, tries to evaluate the expression.

If cursor is a statement declaration tries to evaluate the statement and if its variable, tries to evaluate its initializer, into its corresponding type. If it's an expression, tries to evaluate the expression.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

If cursor is a statement declaration tries to evaluate the statement and if its variable, tries to evaluate its initializer, into its corresponding type. If it's an expression, tries to evaluate the expression.

If cursor is a statement declaration tries to evaluate the statement and if its variable, tries to evaluate its initializer, into its corresponding type. If it's an expression, tries to evaluate the expression.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getArgument(C: CXCursor, i: CUnsignedInt)(using Zone): CXCursor

Retrieve the argument cursor of a function or method.

Retrieve the argument cursor of a function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getArgument(C: Ptr[CXCursor], i: CUnsignedInt)(`__return`: Ptr[CXCursor]): Unit

Retrieve the argument cursor of a function or method.

Retrieve the argument cursor of a function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getArgument(C: Ptr[CXCursor], i: CUnsignedInt)(using Zone): CXCursor

Retrieve the argument cursor of a function or method.

Retrieve the argument cursor of a function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a documentable entity (e.g., declaration), return the associated first paragraph.

Given a cursor that represents a documentable entity (e.g., declaration), return the associated first paragraph.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getBriefCommentText(C: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Given a cursor that represents a documentable entity (e.g., declaration), return the associated first paragraph.

Given a cursor that represents a documentable entity (e.g., declaration), return the associated first paragraph.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a documentable entity (e.g., declaration), return the associated first paragraph.

Given a cursor that represents a documentable entity (e.g., declaration), return the associated first paragraph.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXStrings representing the mangled symbols of the C++ constructor or destructor at the cursor.

Retrieve the CXStrings representing the mangled symbols of the C++ constructor or destructor at the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXStrings representing the mangled symbols of the C++ constructor or destructor at the cursor.

Retrieve the CXStrings representing the mangled symbols of the C++ constructor or destructor at the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getCommentRange(C: Ptr[CXCursor])(`__return`: Ptr[CXSourceRange]): Unit

Given a cursor that represents a declaration, return the associated comment's source range. The range may include multiple consecutive comments with whitespace in between.

Given a cursor that represents a declaration, return the associated comment's source range. The range may include multiple consecutive comments with whitespace in between.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a declaration, return the associated comment's source range. The range may include multiple consecutive comments with whitespace in between.

Given a cursor that represents a declaration, return the associated comment's source range. The range may include multiple consecutive comments with whitespace in between.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a declaration, return the associated comment's source range. The range may include multiple consecutive comments with whitespace in between.

Given a cursor that represents a declaration, return the associated comment's source range. The range may include multiple consecutive comments with whitespace in between.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getMangling(_0: Ptr[CXCursor])(using Zone): CXString

Retrieve the CXString representing the mangled name of the cursor.

Retrieve the CXString representing the mangled name of the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXString representing the mangled name of the cursor.

Retrieve the CXString representing the mangled name of the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getMangling(_0: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Retrieve the CXString representing the mangled name of the cursor.

Retrieve the CXString representing the mangled name of the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a CXCursor_ModuleImportDecl cursor, return the associated module.

Given a CXCursor_ModuleImportDecl cursor, return the associated module.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a CXCursor_ModuleImportDecl cursor, return the associated module.

Given a CXCursor_ModuleImportDecl cursor, return the associated module.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the number of non-variadic arguments associated with a given cursor.

Retrieve the number of non-variadic arguments associated with a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getNumArguments(C: CXCursor)(using Zone): CInt

Retrieve the number of non-variadic arguments associated with a given cursor.

Retrieve the number of non-variadic arguments associated with a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the number of template args of a function, struct, or class decl representing a template specialization.

Returns the number of template args of a function, struct, or class decl representing a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the number of template args of a function, struct, or class decl representing a template specialization.

Returns the number of template args of a function, struct, or class decl representing a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCDeclQualifiers(C: Ptr[CXCursor]): CUnsignedInt

Given a cursor that represents an Objective-C method or parameter declaration, return the associated Objective-C qualifiers for the return type or the parameter respectively. The bits are formed from CXObjCDeclQualifierKind.

Given a cursor that represents an Objective-C method or parameter declaration, return the associated Objective-C qualifiers for the return type or the parameter respectively. The bits are formed from CXObjCDeclQualifierKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCDeclQualifiers(C: CXCursor)(using Zone): CUnsignedInt

Given a cursor that represents an Objective-C method or parameter declaration, return the associated Objective-C qualifiers for the return type or the parameter respectively. The bits are formed from CXObjCDeclQualifierKind.

Given a cursor that represents an Objective-C method or parameter declaration, return the associated Objective-C qualifiers for the return type or the parameter respectively. The bits are formed from CXObjCDeclQualifierKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXStrings representing the mangled symbols of the ObjC class interface or implementation at the cursor.

Retrieve the CXStrings representing the mangled symbols of the ObjC class interface or implementation at the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXStrings representing the mangled symbols of the ObjC class interface or implementation at the cursor.

Retrieve the CXStrings representing the mangled symbols of the ObjC class interface or implementation at the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCPropertyAttributes(C: Ptr[CXCursor], reserved: CUnsignedInt): CUnsignedInt

Given a cursor that represents a property declaration, return the associated property attributes. The bits are formed from CXObjCPropertyAttrKind.

Given a cursor that represents a property declaration, return the associated property attributes. The bits are formed from CXObjCPropertyAttrKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCPropertyAttributes(C: CXCursor, reserved: CUnsignedInt)(using Zone): CUnsignedInt

Given a cursor that represents a property declaration, return the associated property attributes. The bits are formed from CXObjCPropertyAttrKind.

Given a cursor that represents a property declaration, return the associated property attributes. The bits are formed from CXObjCPropertyAttrKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a property declaration, return the name of the method that implements the getter.

Given a cursor that represents a property declaration, return the name of the method that implements the getter.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCPropertyGetterName(C: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Given a cursor that represents a property declaration, return the name of the method that implements the getter.

Given a cursor that represents a property declaration, return the name of the method that implements the getter.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a property declaration, return the name of the method that implements the getter.

Given a cursor that represents a property declaration, return the name of the method that implements the getter.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any.

Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCPropertySetterName(C: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any.

Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any.

Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

If the cursor points to a selector identifier in an Objective-C method or message expression, this returns the selector index.

If the cursor points to a selector identifier in an Objective-C method or message expression, this returns the selector index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getObjCSelectorIndex(_0: CXCursor)(using Zone): CInt

If the cursor points to a selector identifier in an Objective-C method or message expression, this returns the selector index.

If the cursor points to a selector identifier in an Objective-C method or message expression, this returns the selector index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getOffsetOfField(C: Ptr[CXCursor]): CLongLong

Return the offset of the field represented by the Cursor.

Return the offset of the field represented by the Cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getOffsetOfField(C: CXCursor)(using Zone): CLongLong

Return the offset of the field represented by the Cursor.

Return the offset of the field represented by the Cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a declaration, return the associated comment text, including comment markers.

Given a cursor that represents a declaration, return the associated comment text, including comment markers.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getRawCommentText(C: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Given a cursor that represents a declaration, return the associated comment text, including comment markers.

Given a cursor that represents a declaration, return the associated comment text, including comment markers.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a declaration, return the associated comment text, including comment markers.

Given a cursor that represents a declaration, return the associated comment text, including comment markers.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the CXType of the receiver.

Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the CXType of the receiver.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getReceiverType(C: Ptr[CXCursor])(using Zone): CXType

Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the CXType of the receiver.

Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the CXType of the receiver.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getReceiverType(C: Ptr[CXCursor])(`__return`: Ptr[CXType]): Unit

Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the CXType of the receiver.

Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the CXType of the receiver.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getSpellingNameRange(_0: Ptr[CXCursor], pieceIndex: CUnsignedInt, options: CUnsignedInt)(using Zone): CXSourceRange

Retrieve a range for a piece that forms the cursors spelling name. Most of the times there is only one range for the complete spelling but for Objective-C methods and Objective-C message expressions, there are multiple pieces for each selector identifier.

Retrieve a range for a piece that forms the cursors spelling name. Most of the times there is only one range for the complete spelling but for Objective-C methods and Objective-C message expressions, there are multiple pieces for each selector identifier.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getSpellingNameRange(_0: CXCursor, pieceIndex: CUnsignedInt, options: CUnsignedInt)(using Zone): CXSourceRange

Retrieve a range for a piece that forms the cursors spelling name. Most of the times there is only one range for the complete spelling but for Objective-C methods and Objective-C message expressions, there are multiple pieces for each selector identifier.

Retrieve a range for a piece that forms the cursors spelling name. Most of the times there is only one range for the complete spelling but for Objective-C methods and Objective-C message expressions, there are multiple pieces for each selector identifier.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getSpellingNameRange(_0: Ptr[CXCursor], pieceIndex: CUnsignedInt, options: CUnsignedInt)(`__return`: Ptr[CXSourceRange]): Unit

Retrieve a range for a piece that forms the cursors spelling name. Most of the times there is only one range for the complete spelling but for Objective-C methods and Objective-C message expressions, there are multiple pieces for each selector identifier.

Retrieve a range for a piece that forms the cursors spelling name. Most of the times there is only one range for the complete spelling but for Objective-C methods and Objective-C message expressions, there are multiple pieces for each selector identifier.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the storage class for a function or variable declaration.

Returns the storage class for a function or variable declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the storage class for a function or variable declaration.

Returns the storage class for a function or variable declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the kind of the I'th template argument of the CXCursor C.

Retrieve the kind of the I'th template argument of the CXCursor C.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the kind of the I'th template argument of the CXCursor C.

Retrieve the kind of the I'th template argument of the CXCursor C.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentType(C: Ptr[CXCursor], I: CUnsignedInt)(using Zone): CXType

Retrieve a CXType representing the type of a TemplateArgument of a function decl representing a template specialization.

Retrieve a CXType representing the type of a TemplateArgument of a function decl representing a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentType(C: Ptr[CXCursor], I: CUnsignedInt)(`__return`: Ptr[CXType]): Unit

Retrieve a CXType representing the type of a TemplateArgument of a function decl representing a template specialization.

Retrieve a CXType representing the type of a TemplateArgument of a function decl representing a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentType(C: CXCursor, I: CUnsignedInt)(using Zone): CXType

Retrieve a CXType representing the type of a TemplateArgument of a function decl representing a template specialization.

Retrieve a CXType representing the type of a TemplateArgument of a function decl representing a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentUnsignedValue(C: CXCursor, I: CUnsignedInt)(using Zone): CUnsignedLongLong

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as an unsigned long long.

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as an unsigned long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentUnsignedValue(C: Ptr[CXCursor], I: CUnsignedInt): CUnsignedLongLong

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as an unsigned long long.

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as an unsigned long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentValue(C: Ptr[CXCursor], I: CUnsignedInt): CLongLong

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as a signed long long.

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as a signed long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getTemplateArgumentValue(C: CXCursor, I: CUnsignedInt)(using Zone): CLongLong

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as a signed long long.

Retrieve the value of an Integral TemplateArgument (of a function decl representing a template specialization) as a signed long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the translation unit that a cursor originated from.

Returns the translation unit that a cursor originated from.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the translation unit that a cursor originated from.

Returns the translation unit that a cursor originated from.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor.

If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getVarDeclInitializer(cursor: Ptr[CXCursor])(using Zone): CXCursor

If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor.

If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_getVarDeclInitializer(cursor: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor.

If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_hasAttrs(C: CXCursor)(using Zone): CUnsignedInt

Determine whether the given cursor has any attributes.

Determine whether the given cursor has any attributes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_hasAttrs(C: Ptr[CXCursor]): CUnsignedInt

Determine whether the given cursor has any attributes.

Determine whether the given cursor has any attributes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

If cursor refers to a variable declaration that has external storage returns \1. If cursor refers to a variable declaration that doesn't have external storage returns 0. Otherwise returns -1.

If cursor refers to a variable declaration that has external storage returns \1. If cursor refers to a variable declaration that doesn't have external storage returns 0. Otherwise returns -1.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_hasVarDeclExternalStorage(cursor: CXCursor)(using Zone): CInt

If cursor refers to a variable declaration that has external storage returns \1. If cursor refers to a variable declaration that doesn't have external storage returns 0. Otherwise returns -1.

If cursor refers to a variable declaration that has external storage returns \1. If cursor refers to a variable declaration that doesn't have external storage returns 0. Otherwise returns -1.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

If cursor refers to a variable declaration that has global storage returns \1. If cursor refers to a variable declaration that doesn't have global storage returns 0. Otherwise returns -1.

If cursor refers to a variable declaration that has global storage returns \1. If cursor refers to a variable declaration that doesn't have global storage returns 0. Otherwise returns -1.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_hasVarDeclGlobalStorage(cursor: CXCursor)(using Zone): CInt

If cursor refers to a variable declaration that has global storage returns \1. If cursor refers to a variable declaration that doesn't have global storage returns 0. Otherwise returns -1.

If cursor refers to a variable declaration that has global storage returns \1. If cursor refers to a variable declaration that doesn't have global storage returns 0. Otherwise returns -1.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isAnonymous(C: CXCursor)(using Zone): CUnsignedInt

Determine whether the given cursor represents an anonymous tag or namespace

Determine whether the given cursor represents an anonymous tag or namespace

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isAnonymous(C: Ptr[CXCursor]): CUnsignedInt

Determine whether the given cursor represents an anonymous tag or namespace

Determine whether the given cursor represents an anonymous tag or namespace

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isAnonymousRecordDecl(C: CXCursor)(using Zone): CUnsignedInt

Determine whether the given cursor represents an anonymous record declaration.

Determine whether the given cursor represents an anonymous record declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isAnonymousRecordDecl(C: Ptr[CXCursor]): CUnsignedInt

Determine whether the given cursor represents an anonymous record declaration.

Determine whether the given cursor represents an anonymous record declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isBitField(C: CXCursor)(using Zone): CUnsignedInt

Returns non-zero if the cursor specifies a Record member that is a bit-field.

Returns non-zero if the cursor specifies a Record member that is a bit-field.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isBitField(C: Ptr[CXCursor]): CUnsignedInt

Returns non-zero if the cursor specifies a Record member that is a bit-field.

Returns non-zero if the cursor specifies a Record member that is a bit-field.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isDynamicCall(C: CXCursor)(using Zone): CInt

Given a cursor pointing to a C++ method call or an Objective-C message, returns non-zero if the method/message is "dynamic", meaning:

Given a cursor pointing to a C++ method call or an Objective-C message, returns non-zero if the method/message is "dynamic", meaning:

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor pointing to a C++ method call or an Objective-C message, returns non-zero if the method/message is "dynamic", meaning:

Given a cursor pointing to a C++ method call or an Objective-C message, returns non-zero if the method/message is "dynamic", meaning:

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isExternalSymbol(C: Ptr[CXCursor], language: Ptr[CXString], definedIn: Ptr[CXString], isGenerated: Ptr[CUnsignedInt]): CUnsignedInt

Returns non-zero if the given cursor points to a symbol marked with external_source_symbol attribute.

Returns non-zero if the given cursor points to a symbol marked with external_source_symbol attribute.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isExternalSymbol(C: CXCursor, language: Ptr[CXString], definedIn: Ptr[CXString], isGenerated: Ptr[CUnsignedInt])(using Zone): CUnsignedInt

Returns non-zero if the given cursor points to a symbol marked with external_source_symbol attribute.

Returns non-zero if the given cursor points to a symbol marked with external_source_symbol attribute.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isFunctionInlined(C: CXCursor)(using Zone): CUnsignedInt

Determine whether a CXCursor that is a function declaration, is an inline declaration.

Determine whether a CXCursor that is a function declaration, is an inline declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isFunctionInlined(C: Ptr[CXCursor]): CUnsignedInt

Determine whether a CXCursor that is a function declaration, is an inline declaration.

Determine whether a CXCursor that is a function declaration, is an inline declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isInlineNamespace(C: Ptr[CXCursor]): CUnsignedInt

Determine whether the given cursor represents an inline namespace declaration.

Determine whether the given cursor represents an inline namespace declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isInlineNamespace(C: CXCursor)(using Zone): CUnsignedInt

Determine whether the given cursor represents an inline namespace declaration.

Determine whether the given cursor represents an inline namespace declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isMacroBuiltin(C: CXCursor)(using Zone): CUnsignedInt

Determine whether a CXCursor that is a macro, is a builtin one.

Determine whether a CXCursor that is a macro, is a builtin one.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isMacroBuiltin(C: Ptr[CXCursor]): CUnsignedInt

Determine whether a CXCursor that is a macro, is a builtin one.

Determine whether a CXCursor that is a macro, is a builtin one.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isMacroFunctionLike(C: Ptr[CXCursor]): CUnsignedInt

Determine whether a CXCursor that is a macro, is function like.

Determine whether a CXCursor that is a macro, is function like.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isMacroFunctionLike(C: CXCursor)(using Zone): CUnsignedInt

Determine whether a CXCursor that is a macro, is function like.

Determine whether a CXCursor that is a macro, is function like.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isNull(cursor: CXCursor)(using Zone): CInt

Returns non-zero if cursor is null.

Returns non-zero if cursor is null.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isNull(cursor: Ptr[CXCursor]): CInt

Returns non-zero if cursor is null.

Returns non-zero if cursor is null.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isObjCOptional(C: CXCursor)(using Zone): CUnsignedInt

Given a cursor that represents an Objective-C method or property declaration, return non-zero if the declaration was affected by "@optional". Returns zero if the cursor is not such a declaration or it is "@required".

Given a cursor that represents an Objective-C method or property declaration, return non-zero if the declaration was affected by "@optional". Returns zero if the cursor is not such a declaration or it is "@required".

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isObjCOptional(C: Ptr[CXCursor]): CUnsignedInt

Given a cursor that represents an Objective-C method or property declaration, return non-zero if the declaration was affected by "@optional". Returns zero if the cursor is not such a declaration or it is "@required".

Given a cursor that represents an Objective-C method or property declaration, return non-zero if the declaration was affected by "@optional". Returns zero if the cursor is not such a declaration or it is "@required".

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isVariadic(C: CXCursor)(using Zone): CUnsignedInt

Returns non-zero if the given cursor is a variadic function or method.

Returns non-zero if the given cursor is a variadic function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Cursor_isVariadic(C: Ptr[CXCursor]): CUnsignedInt

Returns non-zero if the given cursor is a variadic function or method.

Returns non-zero if the given cursor is a variadic function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_EnumDecl_isScoped(C: Ptr[CXCursor]): CUnsignedInt

Determine if an enum declaration refers to a scoped enum.

Determine if an enum declaration refers to a scoped enum.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_EnumDecl_isScoped(C: CXCursor)(using Zone): CUnsignedInt

Determine if an enum declaration refers to a scoped enum.

Determine if an enum declaration refers to a scoped enum.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Disposes the created Eval memory.

Disposes the created Eval memory.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the evaluation result as double if the kind is double.

Returns the evaluation result as double if the kind is double.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the evaluation result as integer if the kind is Int.

Returns the evaluation result as integer if the kind is Int.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the evaluation result as a long long integer if the kind is Int. This prevents overflows that may happen if the result is returned with clang_EvalResult_getAsInt.

Returns the evaluation result as a long long integer if the kind is Int. This prevents overflows that may happen if the result is returned with clang_EvalResult_getAsInt.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the evaluation result as a constant string if the kind is other than Int or float. User must not free this pointer, instead call clang_EvalResult_dispose on the CXEvalResult returned by clang_Cursor_Evaluate.

Returns the evaluation result as a constant string if the kind is other than Int or float. User must not free this pointer, instead call clang_EvalResult_dispose on the CXEvalResult returned by clang_Cursor_Evaluate.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_EvalResult_getAsUnsigned(E: CXEvalResult): CUnsignedLongLong

Returns the evaluation result as an unsigned integer if the kind is Int and clang_EvalResult_isUnsignedInt is non-zero.

Returns the evaluation result as an unsigned integer if the kind is Int and clang_EvalResult_isUnsignedInt is non-zero.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the kind of the evaluated result.

Returns the kind of the evaluated result.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns a non-zero value if the kind is Int and the evaluation result resulted in an unsigned integer.

Returns a non-zero value if the kind is Int and the evaluation result resulted in an unsigned integer.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_File_isEqual(file1: CXFile, file2: CXFile): CInt

Returns non-zero if the file1 and file2 point to the same file, or they are both NULL.

Returns non-zero if the file1 and file2 point to the same file, or they are both NULL.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

Returns the real path name of file.

Returns the real path name of file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

def clang_File_tryGetRealPathName(file: CXFile)(`__return`: Ptr[CXString]): Unit

Returns the real path name of file.

Returns the real path name of file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

An indexing action/session, to be applied to one or multiple translation units.

An indexing action/session, to be applied to one or multiple translation units.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Destroy the given index action.

Destroy the given index action.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns non-zero if the given source location is in the main file of the corresponding translation unit.

Returns non-zero if the given source location is in the main file of the corresponding translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_Location_isFromMainFile(location: CXSourceLocation)(using Zone): CInt

Returns non-zero if the given source location is in the main file of the corresponding translation unit.

Returns non-zero if the given source location is in the main file of the corresponding translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_Location_isInSystemHeader(location: CXSourceLocation)(using Zone): CInt

Returns non-zero if the given source location is in a system header.

Returns non-zero if the given source location is in a system header.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Returns non-zero if the given source location is in a system header.

Returns non-zero if the given source location is in a system header.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Create a CXModuleMapDescriptor object. Must be disposed with clang_ModuleMapDescriptor_dispose().

Create a CXModuleMapDescriptor object. Must be disposed with clang_ModuleMapDescriptor_dispose().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Dispose a CXModuleMapDescriptor object.

Dispose a CXModuleMapDescriptor object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Sets the framework module name that the module.map describes.

Sets the framework module name that the module.map describes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Sets the umbrella header name that the module.map describes.

Sets the umbrella header name that the module.map describes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

def clang_ModuleMapDescriptor_writeToBuffer(_0: CXModuleMapDescriptor, options: CUnsignedInt, out_buffer_ptr: Ptr[CString], out_buffer_size: Ptr[CUnsignedInt]): CXErrorCode

Write out the CXModuleMapDescriptor object to a char buffer.

Write out the CXModuleMapDescriptor object to a char buffer.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Returns the module file where the provided module object came from.

Returns the module file where the provided module object came from.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Module_getFullName(Module: CXModule)(using Zone): CXString

Returns the full name of the module, e.g. "std.vector".

Returns the full name of the module, e.g. "std.vector".

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Module_getFullName(Module: CXModule)(`__return`: Ptr[CXString]): Unit

Returns the full name of the module, e.g. "std.vector".

Returns the full name of the module, e.g. "std.vector".

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Module_getName(Module: CXModule)(using Zone): CXString

Returns the name of the module, e.g. for the 'std.vector' sub-module it will return "vector".

Returns the name of the module, e.g. for the 'std.vector' sub-module it will return "vector".

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Module_getName(Module: CXModule)(`__return`: Ptr[CXString]): Unit

Returns the name of the module, e.g. for the 'std.vector' sub-module it will return "vector".

Returns the name of the module, e.g. for the 'std.vector' sub-module it will return "vector".

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the number of top level headers associated with this module.

Returns the number of top level headers associated with this module.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the parent of a sub-module or NULL if the given module is top-level, e.g. for 'std.vector' it will return the 'std' module.

Returns the parent of a sub-module or NULL if the given module is top-level, e.g. for 'std.vector' it will return the 'std' module.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Module_getTopLevelHeader(_0: CXTranslationUnit, Module: CXModule, Index: CUnsignedInt): CXFile

Returns the specified top level header associated with the module.

Returns the specified top level header associated with the module.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Module_isSystem(Module: CXModule): CInt

Returns non-zero if the module is a system one.

Returns non-zero if the module is a system one.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Release a printing policy.

Release a printing policy.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Get a property value for the given printing policy.

Get a property value for the given printing policy.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_PrintingPolicy_setProperty(Policy: CXPrintingPolicy, Property: CXPrintingPolicyProperty, Value: CUnsignedInt): Unit

Set a property value for the given printing policy.

Set a property value for the given printing policy.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Range_isNull(range: Ptr[CXSourceRange]): CInt

Returns non-zero if range is null.

Returns non-zero if range is null.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_Range_isNull(range: CXSourceRange)(using Zone): CInt

Returns non-zero if range is null.

Returns non-zero if range is null.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Destroy the CXTargetInfo object.

Destroy the CXTargetInfo object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Get the pointer width of the target in bits.

Get the pointer width of the target in bits.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_TargetInfo_getTriple(Info: CXTargetInfo)(`__return`: Ptr[CXString]): Unit

Get the normalized target triple as a string.

Get the normalized target triple as a string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Get the normalized target triple as a string.

Get the normalized target triple as a string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getAlignOf(T: Ptr[CXType]): CLongLong

Return the alignment of a type in bytes as per C++[expr.alignof] standard.

Return the alignment of a type in bytes as per C++[expr.alignof] standard.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getAlignOf(T: CXType)(using Zone): CLongLong

Return the alignment of a type in bytes as per C++[expr.alignof] standard.

Return the alignment of a type in bytes as per C++[expr.alignof] standard.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the ref-qualifier kind of a function or method.

Retrieve the ref-qualifier kind of a function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the ref-qualifier kind of a function or method.

Retrieve the ref-qualifier kind of a function or method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getClassType(T: Ptr[CXType])(using Zone): CXType

Return the class type of an member pointer type.

Return the class type of an member pointer type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getClassType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Return the class type of an member pointer type.

Return the class type of an member pointer type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getClassType(T: CXType)(using Zone): CXType

Return the class type of an member pointer type.

Return the class type of an member pointer type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getModifiedType(T: Ptr[CXType])(using Zone): CXType

Return the type that was modified by this attributed type.

Return the type that was modified by this attributed type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Return the type that was modified by this attributed type.

Return the type that was modified by this attributed type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getModifiedType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Return the type that was modified by this attributed type.

Return the type that was modified by this attributed type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNamedType(T: Ptr[CXType])(using Zone): CXType

Retrieve the type named by the qualified-id.

Retrieve the type named by the qualified-id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNamedType(T: CXType)(using Zone): CXType

Retrieve the type named by the qualified-id.

Retrieve the type named by the qualified-id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNamedType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Retrieve the type named by the qualified-id.

Retrieve the type named by the qualified-id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the nullability kind of a pointer type.

Retrieve the nullability kind of a pointer type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the nullability kind of a pointer type.

Retrieve the nullability kind of a pointer type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNumObjCProtocolRefs(T: CXType)(using Zone): CUnsignedInt

Retrieve the number of protocol references associated with an ObjC object/id.

Retrieve the number of protocol references associated with an ObjC object/id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNumObjCProtocolRefs(T: Ptr[CXType]): CUnsignedInt

Retrieve the number of protocol references associated with an ObjC object/id.

Retrieve the number of protocol references associated with an ObjC object/id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNumObjCTypeArgs(T: Ptr[CXType]): CUnsignedInt

Retrieve the number of type arguments associated with an ObjC object.

Retrieve the number of type arguments associated with an ObjC object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNumObjCTypeArgs(T: CXType)(using Zone): CUnsignedInt

Retrieve the number of type arguments associated with an ObjC object.

Retrieve the number of type arguments associated with an ObjC object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getNumTemplateArguments(T: CXType)(using Zone): CInt

Returns the number of template arguments for given template specialization, or -1 if type T is not a template specialization.

Returns the number of template arguments for given template specialization, or -1 if type T is not a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the number of template arguments for given template specialization, or -1 if type T is not a template specialization.

Returns the number of template arguments for given template specialization, or -1 if type T is not a template specialization.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCEncoding(`type`: Ptr[CXType])(using Zone): CXString

Returns the Objective-C type encoding for the specified CXType.

Returns the Objective-C type encoding for the specified CXType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCEncoding(`type`: CXType)(using Zone): CXString

Returns the Objective-C type encoding for the specified CXType.

Returns the Objective-C type encoding for the specified CXType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCEncoding(`type`: Ptr[CXType])(`__return`: Ptr[CXString]): Unit

Returns the Objective-C type encoding for the specified CXType.

Returns the Objective-C type encoding for the specified CXType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCObjectBaseType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Retrieves the base type of the ObjCObjectType.

Retrieves the base type of the ObjCObjectType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieves the base type of the ObjCObjectType.

Retrieves the base type of the ObjCObjectType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCObjectBaseType(T: Ptr[CXType])(using Zone): CXType

Retrieves the base type of the ObjCObjectType.

Retrieves the base type of the ObjCObjectType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCProtocolDecl(T: Ptr[CXType], i: CUnsignedInt)(using Zone): CXCursor

Retrieve the decl for a protocol reference for an ObjC object/id.

Retrieve the decl for a protocol reference for an ObjC object/id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCProtocolDecl(T: Ptr[CXType], i: CUnsignedInt)(`__return`: Ptr[CXCursor]): Unit

Retrieve the decl for a protocol reference for an ObjC object/id.

Retrieve the decl for a protocol reference for an ObjC object/id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCProtocolDecl(T: CXType, i: CUnsignedInt)(using Zone): CXCursor

Retrieve the decl for a protocol reference for an ObjC object/id.

Retrieve the decl for a protocol reference for an ObjC object/id.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCTypeArg(T: Ptr[CXType], i: CUnsignedInt)(`__return`: Ptr[CXType]): Unit

Retrieve a type argument associated with an ObjC object.

Retrieve a type argument associated with an ObjC object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCTypeArg(T: CXType, i: CUnsignedInt)(using Zone): CXType

Retrieve a type argument associated with an ObjC object.

Retrieve a type argument associated with an ObjC object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getObjCTypeArg(T: Ptr[CXType], i: CUnsignedInt)(using Zone): CXType

Retrieve a type argument associated with an ObjC object.

Retrieve a type argument associated with an ObjC object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getOffsetOf(T: CXType, S: CString)(using Zone): CLongLong

Return the offset of a field named S in a record of type T in bits as it would be returned by offsetof as per C++11[18.2p4]

Return the offset of a field named S in a record of type T in bits as it would be returned by offsetof as per C++11[18.2p4]

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getOffsetOf(T: Ptr[CXType], S: CString): CLongLong

Return the offset of a field named S in a record of type T in bits as it would be returned by offsetof as per C++11[18.2p4]

Return the offset of a field named S in a record of type T in bits as it would be returned by offsetof as per C++11[18.2p4]

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getSizeOf(T: CXType)(using Zone): CLongLong

Return the size of a type in bytes as per C++[expr.sizeof] standard.

Return the size of a type in bytes as per C++[expr.sizeof] standard.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getSizeOf(T: Ptr[CXType]): CLongLong

Return the size of a type in bytes as per C++[expr.sizeof] standard.

Return the size of a type in bytes as per C++[expr.sizeof] standard.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getTemplateArgumentAsType(T: Ptr[CXType], i: CUnsignedInt)(`__return`: Ptr[CXType]): Unit

Returns the type template argument of a template class specialization at given index.

Returns the type template argument of a template class specialization at given index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getTemplateArgumentAsType(T: Ptr[CXType], i: CUnsignedInt)(using Zone): CXType

Returns the type template argument of a template class specialization at given index.

Returns the type template argument of a template class specialization at given index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getTemplateArgumentAsType(T: CXType, i: CUnsignedInt)(using Zone): CXType

Returns the type template argument of a template class specialization at given index.

Returns the type template argument of a template class specialization at given index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getValueType(CT: CXType)(using Zone): CXType

Gets the type contained by this atomic type.

Gets the type contained by this atomic type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getValueType(CT: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Gets the type contained by this atomic type.

Gets the type contained by this atomic type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_getValueType(CT: Ptr[CXType])(using Zone): CXType

Gets the type contained by this atomic type.

Gets the type contained by this atomic type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_isTransparentTagTypedef(T: CXType)(using Zone): CUnsignedInt

Determine if a typedef is 'transparent' tag.

Determine if a typedef is 'transparent' tag.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_isTransparentTagTypedef(T: Ptr[CXType]): CUnsignedInt

Determine if a typedef is 'transparent' tag.

Determine if a typedef is 'transparent' tag.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_visitFields(T: Ptr[CXType], visitor: CXFieldVisitor, client_data: CXClientData): CUnsignedInt

Visit the fields of a particular type.

Visit the fields of a particular type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_Type_visitFields(T: CXType, visitor: CXFieldVisitor, client_data: CXClientData)(using Zone): CUnsignedInt

Visit the fields of a particular type.

Visit the fields of a particular type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_VirtualFileOverlay_addFileMapping(_0: CXVirtualFileOverlay, virtualPath: CString, realPath: CString): CXErrorCode

Map an absolute virtual file path to an absolute real one. The virtual path must be canonicalized (not contain "."/"..").

Map an absolute virtual file path to an absolute real one. The virtual path must be canonicalized (not contain "."/"..").

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Create a CXVirtualFileOverlay object. Must be disposed with clang_VirtualFileOverlay_dispose().

Create a CXVirtualFileOverlay object. Must be disposed with clang_VirtualFileOverlay_dispose().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Dispose a CXVirtualFileOverlay object.

Dispose a CXVirtualFileOverlay object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

Set the case sensitivity for the CXVirtualFileOverlay object. The CXVirtualFileOverlay object is case-sensitive by default, this option can be used to override the default.

Set the case sensitivity for the CXVirtualFileOverlay object. The CXVirtualFileOverlay object is case-sensitive by default, this option can be used to override the default.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

def clang_VirtualFileOverlay_writeToBuffer(_0: CXVirtualFileOverlay, options: CUnsignedInt, out_buffer_ptr: Ptr[CString], out_buffer_size: Ptr[CUnsignedInt]): CXErrorCode

Write out the CXVirtualFileOverlay object to a char buffer.

Write out the CXVirtualFileOverlay object to a char buffer.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

def clang_annotateTokens(TU: CXTranslationUnit, Tokens: Ptr[CXToken], NumTokens: CUnsignedInt, Cursors: Ptr[CXCursor]): Unit

Annotate the given set of tokens by providing cursors for each token that can be mapped to a specific entity within the abstract syntax tree.

Annotate the given set of tokens by providing cursors for each token that can be mapped to a specific entity within the abstract syntax tree.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_codeCompleteAt(TU: CXTranslationUnit, complete_filename: CString, complete_line: CUnsignedInt, complete_column: CUnsignedInt, unsaved_files: Ptr[CXUnsavedFile], num_unsaved_files: CUnsignedInt, options: CUnsignedInt): Ptr[CXCodeCompleteResults]

Perform code completion at a given location in a translation unit.

Perform code completion at a given location in a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_codeCompleteGetContainerKind(Results: Ptr[CXCodeCompleteResults], IsIncomplete: Ptr[CUnsignedInt]): CXCursorKind

Returns the cursor kind for the container for the current code completion context. The container is only guaranteed to be set for contexts where a container exists (i.e. member accesses or Objective-C message sends); if there is not a container, this function will return CXCursor_InvalidCode.

Returns the cursor kind for the container for the current code completion context. The container is only guaranteed to be set for contexts where a container exists (i.e. member accesses or Objective-C message sends); if there is not a container, this function will return CXCursor_InvalidCode.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the USR for the container for the current code completion context. If there is not a container for the current context, this function will return the empty string.

Returns the USR for the container for the current code completion context. If there is not a container for the current context, this function will return the empty string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_codeCompleteGetContainerUSR(Results: Ptr[CXCodeCompleteResults])(`__return`: Ptr[CXString]): Unit

Returns the USR for the container for the current code completion context. If there is not a container for the current context, this function will return the empty string.

Returns the USR for the container for the current code completion context. If there is not a container for the current context, this function will return the empty string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_codeCompleteGetContexts(Results: Ptr[CXCodeCompleteResults]): CUnsignedLongLong

Determines what completions are appropriate for the context the given code completion.

Determines what completions are appropriate for the context the given code completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_codeCompleteGetDiagnostic(Results: Ptr[CXCodeCompleteResults], Index: CUnsignedInt): CXDiagnostic

Retrieve a diagnostic associated with the given code completion.

Retrieve a diagnostic associated with the given code completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the number of diagnostics produced prior to the location where code completion was performed.

Determine the number of diagnostics produced prior to the location where code completion was performed.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_codeCompleteGetObjCSelector(Results: Ptr[CXCodeCompleteResults])(`__return`: Ptr[CXString]): Unit

Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". Only guaranteed to return a non-empty string for CXCompletionContext_ObjCInstanceMessage and CXCompletionContext_ObjCClassMessage.

Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". Only guaranteed to return a non-empty string for CXCompletionContext_ObjCInstanceMessage and CXCompletionContext_ObjCClassMessage.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". Only guaranteed to return a non-empty string for CXCompletionContext_ObjCInstanceMessage and CXCompletionContext_ObjCClassMessage.

Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". Only guaranteed to return a non-empty string for CXCompletionContext_ObjCInstanceMessage and CXCompletionContext_ObjCClassMessage.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCCategory(class_name: CString, category_name: CString)(using Zone): CXString

Construct a USR for a specified Objective-C category.

Construct a USR for a specified Objective-C category.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCCategory(class_name: CString, category_name: CString)(`__return`: Ptr[CXString]): Unit

Construct a USR for a specified Objective-C category.

Construct a USR for a specified Objective-C category.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCClass(class_name: CString)(using Zone): CXString

Construct a USR for a specified Objective-C class.

Construct a USR for a specified Objective-C class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCClass(class_name: CString)(`__return`: Ptr[CXString]): Unit

Construct a USR for a specified Objective-C class.

Construct a USR for a specified Objective-C class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCIvar(name: CString, classUSR: Ptr[CXString])(`__return`: Ptr[CXString]): Unit

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCIvar(name: CString, classUSR: CXString)(using Zone): CXString

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCIvar(name: CString, classUSR: Ptr[CXString])(using Zone): CXString

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCMethod(name: CString, isInstanceMethod: CUnsignedInt, classUSR: Ptr[CXString])(using Zone): CXString

Construct a USR for a specified Objective-C method and the USR for its containing class.

Construct a USR for a specified Objective-C method and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCMethod(name: CString, isInstanceMethod: CUnsignedInt, classUSR: CXString)(using Zone): CXString

Construct a USR for a specified Objective-C method and the USR for its containing class.

Construct a USR for a specified Objective-C method and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCMethod(name: CString, isInstanceMethod: CUnsignedInt, classUSR: Ptr[CXString])(`__return`: Ptr[CXString]): Unit

Construct a USR for a specified Objective-C method and the USR for its containing class.

Construct a USR for a specified Objective-C method and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCProperty(property: CString, classUSR: CXString)(using Zone): CXString

Construct a USR for a specified Objective-C property and the USR for its containing class.

Construct a USR for a specified Objective-C property and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCProperty(property: CString, classUSR: Ptr[CXString])(`__return`: Ptr[CXString]): Unit

Construct a USR for a specified Objective-C property and the USR for its containing class.

Construct a USR for a specified Objective-C property and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCProperty(property: CString, classUSR: Ptr[CXString])(using Zone): CXString

Construct a USR for a specified Objective-C property and the USR for its containing class.

Construct a USR for a specified Objective-C property and the USR for its containing class.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCProtocol(protocol_name: CString)(using Zone): CXString

Construct a USR for a specified Objective-C protocol.

Construct a USR for a specified Objective-C protocol.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_constructUSR_ObjCProtocol(protocol_name: CString)(`__return`: Ptr[CXString]): Unit

Construct a USR for a specified Objective-C protocol.

Construct a USR for a specified Objective-C protocol.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Creates an empty CXCursorSet.

Creates an empty CXCursorSet.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_createIndex(excludeDeclarationsFromPCH: CInt, displayDiagnostics: CInt): CXIndex

Provides a shared context for creating translation units.

Provides a shared context for creating translation units.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Provides a shared context for creating translation units.

Provides a shared context for creating translation units.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_createTranslationUnit(CIdx: CXIndex, ast_filename: CString): CXTranslationUnit

Same as clang_createTranslationUnit2, but returns the CXTranslationUnit instead of an error code. In case of an error this routine returns a NULL CXTranslationUnit, without further detailed error codes.

Same as clang_createTranslationUnit2, but returns the CXTranslationUnit instead of an error code. In case of an error this routine returns a NULL CXTranslationUnit, without further detailed error codes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_createTranslationUnit2(CIdx: CXIndex, ast_filename: CString, out_TU: Ptr[CXTranslationUnit]): CXErrorCode

Create a translation unit from an AST file ( -emit-ast).

Create a translation unit from an AST file ( -emit-ast).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_createTranslationUnitFromSourceFile(CIdx: CXIndex, source_filename: CString, num_clang_command_line_args: CInt, clang_command_line_args: Ptr[CString], num_unsaved_files: CUnsignedInt, unsaved_files: Ptr[CXUnsavedFile]): CXTranslationUnit

Return the CXTranslationUnit for a given source file and the provided command line arguments one would pass to the compiler.

Return the CXTranslationUnit for a given source file and the provided command line arguments one would pass to the compiler.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_defaultCodeCompleteOptions(): CUnsignedInt

Returns a default set of code-completion options that can be passed to clang_codeCompleteAt().

Returns a default set of code-completion options that can be passed to clang_codeCompleteAt().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the set of display options most similar to the default behavior of the clang compiler.

Retrieve the set of display options most similar to the default behavior of the clang compiler.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Returns the set of flags that is suitable for parsing a translation unit that is being edited.

Returns the set of flags that is suitable for parsing a translation unit that is being edited.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the set of flags that is suitable for reparsing a translation unit.

Returns the set of flags that is suitable for reparsing a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the set of flags that is suitable for saving a translation unit.

Returns the set of flags that is suitable for saving a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Disposes a CXCursorSet and releases its associated memory.

Disposes a CXCursorSet and releases its associated memory.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Free the memory associated with a CXPlatformAvailability structure.

Free the memory associated with a CXPlatformAvailability structure.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_disposeCXTUResourceUsage(usage: CXTUResourceUsage)(using Zone): Unit

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Free the given set of code-completion results.

Free the given set of code-completion results.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_disposeDiagnostic(Diagnostic: CXDiagnostic): Unit

Destroy a diagnostic.

Destroy a diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Release a CXDiagnosticSet and all of its contained diagnostics.

Release a CXDiagnosticSet and all of its contained diagnostics.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_disposeIndex(index: CXIndex): Unit

Destroy the given index.

Destroy the given index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_disposeOverriddenCursors(overridden: Ptr[CXCursor]): Unit

Free the set of overridden cursors returned by clang_getOverriddenCursors().

Free the set of overridden cursors returned by clang_getOverriddenCursors().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Destroy the given CXSourceRangeList.

Destroy the given CXSourceRangeList.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_disposeString(string: Ptr[CXString]): Unit

Free the given string.

Free the given string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

def clang_disposeString(string: CXString)(using Zone): Unit

Free the given string.

Free the given string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

def clang_disposeStringSet(set: Ptr[CXStringSet]): Unit

Free the given string set.

Free the given string set.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

def clang_disposeTokens(TU: CXTranslationUnit, Tokens: Ptr[CXToken], NumTokens: CUnsignedInt): Unit

Free the given set of tokens.

Free the given set of tokens.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Destroy the specified CXTranslationUnit object.

Destroy the specified CXTranslationUnit object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_equalCursors(_0: Ptr[CXCursor], _1: Ptr[CXCursor]): CUnsignedInt

Determine whether two cursors are equivalent.

Determine whether two cursors are equivalent.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_equalCursors(_0: CXCursor, _1: CXCursor)(using Zone): CUnsignedInt

Determine whether two cursors are equivalent.

Determine whether two cursors are equivalent.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_equalLocations(loc1: CXSourceLocation, loc2: CXSourceLocation)(using Zone): CUnsignedInt

Determine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code.

Determine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_equalLocations(loc1: Ptr[CXSourceLocation], loc2: Ptr[CXSourceLocation]): CUnsignedInt

Determine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code.

Determine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_equalRanges(range1: CXSourceRange, range2: CXSourceRange)(using Zone): CUnsignedInt

Determine whether two ranges are equivalent.

Determine whether two ranges are equivalent.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_equalRanges(range1: Ptr[CXSourceRange], range2: Ptr[CXSourceRange]): CUnsignedInt

Determine whether two ranges are equivalent.

Determine whether two ranges are equivalent.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_equalTypes(A: CXType, B: CXType)(using Zone): CUnsignedInt

Determine whether two CXTypes represent the same type.

Determine whether two CXTypes represent the same type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_equalTypes(A: Ptr[CXType], B: Ptr[CXType]): CUnsignedInt

Determine whether two CXTypes represent the same type.

Determine whether two CXTypes represent the same type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_executeOnThread(fn: CFuncPtr1[Ptr[Byte], Unit], user_data: Ptr[Byte], stack_size: CUnsignedInt): Unit

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Find #import/#include directives in a specific file.

Find #import/#include directives in a specific file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Find #import/#include directives in a specific file.

Find #import/#include directives in a specific file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_findReferencesInFile(cursor: CXCursor, file: CXFile, visitor: CXCursorAndRangeVisitor)(using Zone): CXResult

Find references of a declaration in a specific file.

Find references of a declaration in a specific file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Find references of a declaration in a specific file.

Find references of a declaration in a specific file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_formatDiagnostic(Diagnostic: CXDiagnostic, Options: CUnsignedInt)(using Zone): CXString

Format the given diagnostic in a manner that is suitable for display.

Format the given diagnostic in a manner that is suitable for display.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_formatDiagnostic(Diagnostic: CXDiagnostic, Options: CUnsignedInt)(`__return`: Ptr[CXString]): Unit

Format the given diagnostic in a manner that is suitable for display.

Format the given diagnostic in a manner that is suitable for display.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_free(buffer: Ptr[Byte]): Unit

free memory allocated by libclang, such as the buffer returned by CXVirtualFileOverlay() or clang_ModuleMapDescriptor_writeToBuffer().

free memory allocated by libclang, such as the buffer returned by CXVirtualFileOverlay() or clang_ModuleMapDescriptor_writeToBuffer().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

def clang_getAddressSpace(T: Ptr[CXType]): CUnsignedInt

Returns the address space of the given type.

Returns the address space of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getAddressSpace(T: CXType)(using Zone): CUnsignedInt

Returns the address space of the given type.

Returns the address space of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve all ranges from all files that were skipped by the preprocessor.

Retrieve all ranges from all files that were skipped by the preprocessor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArgType(T: Ptr[CXType], i: CUnsignedInt)(`__return`: Ptr[CXType]): Unit

Retrieve the type of a parameter of a function type.

Retrieve the type of a parameter of a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArgType(T: CXType, i: CUnsignedInt)(using Zone): CXType

Retrieve the type of a parameter of a function type.

Retrieve the type of a parameter of a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArgType(T: Ptr[CXType], i: CUnsignedInt)(using Zone): CXType

Retrieve the type of a parameter of a function type.

Retrieve the type of a parameter of a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArrayElementType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Return the element type of an array type.

Return the element type of an array type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArrayElementType(T: CXType)(using Zone): CXType

Return the element type of an array type.

Return the element type of an array type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArrayElementType(T: Ptr[CXType])(using Zone): CXType

Return the element type of an array type.

Return the element type of an array type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArraySize(T: Ptr[CXType]): CLongLong

Return the array size of a constant array.

Return the array size of a constant array.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getArraySize(T: CXType)(using Zone): CLongLong

Return the array size of a constant array.

Return the array size of a constant array.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the spelling of a given CXBinaryOperatorKind.

Retrieve the spelling of a given CXBinaryOperatorKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the spelling of a given CXBinaryOperatorKind.

Retrieve the spelling of a given CXBinaryOperatorKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getBuildSessionTimestamp(): CUnsignedLongLong

Return the timestamp for use with Clang's -fbuild-session-timestamp= option.

Return the timestamp for use with Clang's -fbuild-session-timestamp= option.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/BuildSystem.h

Attributes

def clang_getCString(string: Ptr[CXString]): CString

Retrieve the character data associated with the given string.

Retrieve the character data associated with the given string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

def clang_getCString(string: CXString)(using Zone): CString

Retrieve the character data associated with the given string.

Retrieve the character data associated with the given string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXString.h

Attributes

Return the memory usage of a translation unit. This object should be released with clang_disposeCXTUResourceUsage().

Return the memory usage of a translation unit. This object should be released with clang_disposeCXTUResourceUsage().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Return the memory usage of a translation unit. This object should be released with clang_disposeCXTUResourceUsage().

Return the memory usage of a translation unit. This object should be released with clang_disposeCXTUResourceUsage().

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the access control level for the referenced object.

Returns the access control level for the referenced object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the access control level for the referenced object.

Returns the access control level for the referenced object.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCanonicalCursor(_0: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

Retrieve the canonical cursor corresponding to the given cursor.

Retrieve the canonical cursor corresponding to the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCanonicalCursor(_0: Ptr[CXCursor])(using Zone): CXCursor

Retrieve the canonical cursor corresponding to the given cursor.

Retrieve the canonical cursor corresponding to the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the canonical cursor corresponding to the given cursor.

Retrieve the canonical cursor corresponding to the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCanonicalType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Return the canonical type for a CXType.

Return the canonical type for a CXType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCanonicalType(T: Ptr[CXType])(using Zone): CXType

Return the canonical type for a CXType.

Return the canonical type for a CXType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCanonicalType(T: CXType)(using Zone): CXType

Return the canonical type for a CXType.

Return the canonical type for a CXType.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the child diagnostics of a CXDiagnostic.

Retrieve the child diagnostics of a CXDiagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getClangVersion()(using Zone): CXString

Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable).

Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getClangVersion()(`__return`: Ptr[CXString]): Unit

Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable).

Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionAnnotation(completion_string: CXCompletionString, annotation_number: CUnsignedInt)(using Zone): CXString

Retrieve the annotation associated with the given completion string.

Retrieve the annotation associated with the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionAnnotation(completion_string: CXCompletionString, annotation_number: CUnsignedInt)(`__return`: Ptr[CXString]): Unit

Retrieve the annotation associated with the given completion string.

Retrieve the annotation associated with the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the availability of the entity that this code-completion string refers to.

Determine the availability of the entity that this code-completion string refers to.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionBriefComment(completion_string: CXCompletionString)(using Zone): CXString

Retrieve the brief documentation comment attached to the declaration that corresponds to the given completion string.

Retrieve the brief documentation comment attached to the declaration that corresponds to the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionBriefComment(completion_string: CXCompletionString)(`__return`: Ptr[CXString]): Unit

Retrieve the brief documentation comment attached to the declaration that corresponds to the given completion string.

Retrieve the brief documentation comment attached to the declaration that corresponds to the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionChunkCompletionString(completion_string: CXCompletionString, chunk_number: CUnsignedInt): CXCompletionString

Retrieve the completion string associated with a particular chunk within a completion string.

Retrieve the completion string associated with a particular chunk within a completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionChunkKind(completion_string: CXCompletionString, chunk_number: CUnsignedInt): CXCompletionChunkKind

Determine the kind of a particular chunk within a completion string.

Determine the kind of a particular chunk within a completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionChunkText(completion_string: CXCompletionString, chunk_number: CUnsignedInt)(`__return`: Ptr[CXString]): Unit

Retrieve the text associated with a particular chunk within a completion string.

Retrieve the text associated with a particular chunk within a completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionChunkText(completion_string: CXCompletionString, chunk_number: CUnsignedInt)(using Zone): CXString

Retrieve the text associated with a particular chunk within a completion string.

Retrieve the text associated with a particular chunk within a completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionFixIt(results: Ptr[CXCodeCompleteResults], completion_index: CUnsignedInt, fixit_index: CUnsignedInt, replacement_range: Ptr[CXSourceRange])(`__return`: Ptr[CXString]): Unit

Fix-its that must be applied before inserting the text for the corresponding completion.

Fix-its that must be applied before inserting the text for the corresponding completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionFixIt(results: Ptr[CXCodeCompleteResults], completion_index: CUnsignedInt, fixit_index: CUnsignedInt, replacement_range: Ptr[CXSourceRange])(using Zone): CXString

Fix-its that must be applied before inserting the text for the corresponding completion.

Fix-its that must be applied before inserting the text for the corresponding completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionNumAnnotations(completion_string: CXCompletionString): CUnsignedInt

Retrieve the number of annotations associated with the given completion string.

Retrieve the number of annotations associated with the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionNumFixIts(results: Ptr[CXCodeCompleteResults], completion_index: CUnsignedInt): CUnsignedInt

Retrieve the number of fix-its for the given completion index.

Retrieve the number of fix-its for the given completion index.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionParent(completion_string: CXCompletionString, kind: Ptr[CXCursorKind])(using Zone): CXString

Retrieve the parent context of the given completion string.

Retrieve the parent context of the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionParent(completion_string: CXCompletionString, kind: Ptr[CXCursorKind])(`__return`: Ptr[CXString]): Unit

Retrieve the parent context of the given completion string.

Retrieve the parent context of the given completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCompletionPriority(completion_string: CXCompletionString): CUnsignedInt

Determine the priority of this code completion.

Determine the priority of this code completion.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Map a source location to the cursor that describes the entity at that location in the source code.

Map a source location to the cursor that describes the entity at that location in the source code.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Map a source location to the cursor that describes the entity at that location in the source code.

Map a source location to the cursor that describes the entity at that location in the source code.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursor(_0: CXTranslationUnit, _1: Ptr[CXSourceLocation])(`__return`: Ptr[CXCursor]): Unit

Map a source location to the cursor that describes the entity at that location in the source code.

Map a source location to the cursor that describes the entity at that location in the source code.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the availability of the entity that this cursor refers to, taking the current target platform into account.

Determine the availability of the entity that this cursor refers to, taking the current target platform into account.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the availability of the entity that this cursor refers to, taking the current target platform into account.

Determine the availability of the entity that this cursor refers to, taking the current target platform into account.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the binary operator kind of this cursor.

Retrieve the binary operator kind of this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the binary operator kind of this cursor.

Retrieve the binary operator kind of this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve a completion string for an arbitrary declaration or macro definition cursor.

Retrieve a completion string for an arbitrary declaration or macro definition cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve a completion string for an arbitrary declaration or macro definition cursor.

Retrieve a completion string for an arbitrary declaration or macro definition cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorDefinition(_0: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity.

For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity.

For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorDefinition(_0: Ptr[CXCursor])(using Zone): CXCursor

For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity.

For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorDisplayName(_0: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Retrieve the display name for the entity referenced by this cursor.

Retrieve the display name for the entity referenced by this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorDisplayName(_0: Ptr[CXCursor])(using Zone): CXString

Retrieve the display name for the entity referenced by this cursor.

Retrieve the display name for the entity referenced by this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the display name for the entity referenced by this cursor.

Retrieve the display name for the entity referenced by this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the exception specification type associated with a given cursor. This is a value of type CXCursor_ExceptionSpecificationKind.

Retrieve the exception specification type associated with a given cursor. This is a value of type CXCursor_ExceptionSpecificationKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the exception specification type associated with a given cursor. This is a value of type CXCursor_ExceptionSpecificationKind.

Retrieve the exception specification type associated with a given cursor. This is a value of type CXCursor_ExceptionSpecificationKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorExtent(_0: Ptr[CXCursor])(`__return`: Ptr[CXSourceRange]): Unit

Retrieve the physical extent of the source construct referenced by the given cursor.

Retrieve the physical extent of the source construct referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the physical extent of the source construct referenced by the given cursor.

Retrieve the physical extent of the source construct referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorExtent(_0: Ptr[CXCursor])(using Zone): CXSourceRange

Retrieve the physical extent of the source construct referenced by the given cursor.

Retrieve the physical extent of the source construct referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorKind(_0: CXCursor)(using Zone): CXCursorKind

Retrieve the kind of the given cursor.

Retrieve the kind of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the kind of the given cursor.

Retrieve the kind of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

These routines are used for testing and debugging, only, and should not be relied upon.

These routines are used for testing and debugging, only, and should not be relied upon.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorKindSpelling(Kind: CXCursorKind)(`__return`: Ptr[CXString]): Unit

These routines are used for testing and debugging, only, and should not be relied upon.

These routines are used for testing and debugging, only, and should not be relied upon.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorLanguage(cursor: CXCursor)(using Zone): CXLanguageKind

Determine the "language" of the entity referred to by a given cursor.

Determine the "language" of the entity referred to by a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the "language" of the entity referred to by a given cursor.

Determine the "language" of the entity referred to by a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorLexicalParent(cursor: CXCursor)(using Zone): CXCursor

Determine the lexical parent of the given cursor.

Determine the lexical parent of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorLexicalParent(cursor: Ptr[CXCursor])(using Zone): CXCursor

Determine the lexical parent of the given cursor.

Determine the lexical parent of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorLexicalParent(cursor: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

Determine the lexical parent of the given cursor.

Determine the lexical parent of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorLinkage(cursor: CXCursor)(using Zone): CXLinkageKind

Determine the linkage of the entity referred to by a given cursor.

Determine the linkage of the entity referred to by a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the linkage of the entity referred to by a given cursor.

Determine the linkage of the entity referred to by a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorLocation(_0: Ptr[CXCursor])(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve the physical location of the source constructor referenced by the given cursor.

Retrieve the physical location of the source constructor referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the physical location of the source constructor referenced by the given cursor.

Retrieve the physical location of the source constructor referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the physical location of the source constructor referenced by the given cursor.

Retrieve the physical location of the source constructor referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorPlatformAvailability(cursor: CXCursor, always_deprecated: Ptr[CInt], deprecated_message: Ptr[CXString], always_unavailable: Ptr[CInt], unavailable_message: Ptr[CXString], availability: Ptr[CXPlatformAvailability], availability_size: CInt)(using Zone): CInt

Determine the availability of the entity that this cursor refers to on any platforms for which availability information is known.

Determine the availability of the entity that this cursor refers to on any platforms for which availability information is known.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorPlatformAvailability(cursor: Ptr[CXCursor], always_deprecated: Ptr[CInt], deprecated_message: Ptr[CXString], always_unavailable: Ptr[CInt], unavailable_message: Ptr[CXString], availability: Ptr[CXPlatformAvailability], availability_size: CInt): CInt

Determine the availability of the entity that this cursor refers to on any platforms for which availability information is known.

Determine the availability of the entity that this cursor refers to on any platforms for which availability information is known.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorPrettyPrinted(Cursor: Ptr[CXCursor], Policy: CXPrintingPolicy)(using Zone): CXString

Pretty print declarations.

Pretty print declarations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorPrettyPrinted(Cursor: CXCursor, Policy: CXPrintingPolicy)(using Zone): CXString

Pretty print declarations.

Pretty print declarations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorPrettyPrinted(Cursor: Ptr[CXCursor], Policy: CXPrintingPolicy)(`__return`: Ptr[CXString]): Unit

Pretty print declarations.

Pretty print declarations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the default policy for the cursor.

Retrieve the default policy for the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the default policy for the cursor.

Retrieve the default policy for the cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorReferenceNameRange(C: Ptr[CXCursor], NameFlags: CUnsignedInt, PieceIndex: CUnsignedInt)(`__return`: Ptr[CXSourceRange]): Unit

Given a cursor that references something else, return the source range covering that reference.

Given a cursor that references something else, return the source range covering that reference.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorReferenceNameRange(C: CXCursor, NameFlags: CUnsignedInt, PieceIndex: CUnsignedInt)(using Zone): CXSourceRange

Given a cursor that references something else, return the source range covering that reference.

Given a cursor that references something else, return the source range covering that reference.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorReferenceNameRange(C: Ptr[CXCursor], NameFlags: CUnsignedInt, PieceIndex: CUnsignedInt)(using Zone): CXSourceRange

Given a cursor that references something else, return the source range covering that reference.

Given a cursor that references something else, return the source range covering that reference.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorReferenced(_0: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorReferenced(_0: Ptr[CXCursor])(using Zone): CXCursor

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorResultType(C: Ptr[CXCursor])(`__return`: Ptr[CXType]): Unit

Retrieve the return type associated with a given cursor.

Retrieve the return type associated with a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorResultType(C: Ptr[CXCursor])(using Zone): CXType

Retrieve the return type associated with a given cursor.

Retrieve the return type associated with a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the return type associated with a given cursor.

Retrieve the return type associated with a given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorSemanticParent(cursor: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

Determine the semantic parent of the given cursor.

Determine the semantic parent of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorSemanticParent(cursor: Ptr[CXCursor])(using Zone): CXCursor

Determine the semantic parent of the given cursor.

Determine the semantic parent of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorSemanticParent(cursor: CXCursor)(using Zone): CXCursor

Determine the semantic parent of the given cursor.

Determine the semantic parent of the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorSpelling(_0: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Retrieve a name for the entity referenced by this cursor.

Retrieve a name for the entity referenced by this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorSpelling(_0: Ptr[CXCursor])(using Zone): CXString

Retrieve a name for the entity referenced by this cursor.

Retrieve a name for the entity referenced by this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorSpelling(_0: CXCursor)(using Zone): CXString

Retrieve a name for the entity referenced by this cursor.

Retrieve a name for the entity referenced by this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorTLSKind(cursor: CXCursor)(using Zone): CXTLSKind

Determine the "thread-local storage (TLS) kind" of the declaration referred to by a cursor.

Determine the "thread-local storage (TLS) kind" of the declaration referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the "thread-local storage (TLS) kind" of the declaration referred to by a cursor.

Determine the "thread-local storage (TLS) kind" of the declaration referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorType(C: CXCursor)(using Zone): CXType

Retrieve the type of a CXCursor (if any).

Retrieve the type of a CXCursor (if any).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorType(C: Ptr[CXCursor])(`__return`: Ptr[CXType]): Unit

Retrieve the type of a CXCursor (if any).

Retrieve the type of a CXCursor (if any).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorType(C: Ptr[CXCursor])(using Zone): CXType

Retrieve the type of a CXCursor (if any).

Retrieve the type of a CXCursor (if any).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorUSR(_0: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorUSR(_0: Ptr[CXCursor])(using Zone): CXString

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getCursorUSR(_0: CXCursor)(using Zone): CXString

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the unary operator kind of this cursor.

Retrieve the unary operator kind of this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the unary operator kind of this cursor.

Retrieve the unary operator kind of this cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Describe the visibility of the entity referred to by a cursor.

Describe the visibility of the entity referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Describe the visibility of the entity referred to by a cursor.

Describe the visibility of the entity referred to by a cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getDeclObjCTypeEncoding(C: Ptr[CXCursor])(`__return`: Ptr[CXString]): Unit

Returns the Objective-C type encoding for the specified declaration.

Returns the Objective-C type encoding for the specified declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getDeclObjCTypeEncoding(C: Ptr[CXCursor])(using Zone): CXString

Returns the Objective-C type encoding for the specified declaration.

Returns the Objective-C type encoding for the specified declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Returns the Objective-C type encoding for the specified declaration.

Returns the Objective-C type encoding for the specified declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getDefinitionSpellingAndExtent(_0: Ptr[CXCursor], startBuf: Ptr[CString], endBuf: Ptr[CString], startLine: Ptr[CUnsignedInt], startColumn: Ptr[CUnsignedInt], endLine: Ptr[CUnsignedInt], endColumn: Ptr[CUnsignedInt]): Unit

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getDefinitionSpellingAndExtent(_0: CXCursor, startBuf: Ptr[CString], endBuf: Ptr[CString], startLine: Ptr[CUnsignedInt], startColumn: Ptr[CUnsignedInt], endLine: Ptr[CUnsignedInt], endColumn: Ptr[CUnsignedInt])(using Zone): Unit

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getDiagnostic(Unit: CXTranslationUnit, Index: CUnsignedInt): CXDiagnostic

Retrieve a diagnostic associated with the given translation unit.

Retrieve a diagnostic associated with the given translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getDiagnosticCategory(_0: CXDiagnostic): CUnsignedInt

Retrieve the category number for this diagnostic.

Retrieve the category number for this diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticCategoryName(Category: CUnsignedInt)(`__return`: Ptr[CXString]): Unit

Retrieve the name of a particular diagnostic category. This is now deprecated. Use clang_getDiagnosticCategoryText() instead.

Retrieve the name of a particular diagnostic category. This is now deprecated. Use clang_getDiagnosticCategoryText() instead.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticCategoryName(Category: CUnsignedInt)(using Zone): CXString

Retrieve the name of a particular diagnostic category. This is now deprecated. Use clang_getDiagnosticCategoryText() instead.

Retrieve the name of a particular diagnostic category. This is now deprecated. Use clang_getDiagnosticCategoryText() instead.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticCategoryText(_0: CXDiagnostic)(`__return`: Ptr[CXString]): Unit

Retrieve the diagnostic category text for a given diagnostic.

Retrieve the diagnostic category text for a given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Retrieve the diagnostic category text for a given diagnostic.

Retrieve the diagnostic category text for a given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticFixIt(Diagnostic: CXDiagnostic, FixIt: CUnsignedInt, ReplacementRange: Ptr[CXSourceRange])(`__return`: Ptr[CXString]): Unit

Retrieve the replacement information for a given fix-it.

Retrieve the replacement information for a given fix-it.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticFixIt(Diagnostic: CXDiagnostic, FixIt: CUnsignedInt, ReplacementRange: Ptr[CXSourceRange])(using Zone): CXString

Retrieve the replacement information for a given fix-it.

Retrieve the replacement information for a given fix-it.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticInSet(Diags: CXDiagnosticSet, Index: CUnsignedInt): CXDiagnostic

Retrieve a diagnostic associated with the given CXDiagnosticSet.

Retrieve a diagnostic associated with the given CXDiagnosticSet.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticLocation(_0: CXDiagnostic)(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve the source location of the given diagnostic.

Retrieve the source location of the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Retrieve the source location of the given diagnostic.

Retrieve the source location of the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticNumFixIts(Diagnostic: CXDiagnostic): CUnsignedInt

Determine the number of fix-it hints associated with the given diagnostic.

Determine the number of fix-it hints associated with the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Determine the number of source ranges associated with the given diagnostic.

Determine the number of source ranges associated with the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticOption(Diag: CXDiagnostic, Disable: Ptr[CXString])(using Zone): CXString

Retrieve the name of the command-line option that enabled this diagnostic.

Retrieve the name of the command-line option that enabled this diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticOption(Diag: CXDiagnostic, Disable: Ptr[CXString])(`__return`: Ptr[CXString]): Unit

Retrieve the name of the command-line option that enabled this diagnostic.

Retrieve the name of the command-line option that enabled this diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticRange(Diagnostic: CXDiagnostic, Range: CUnsignedInt)(`__return`: Ptr[CXSourceRange]): Unit

Retrieve a source range associated with the diagnostic.

Retrieve a source range associated with the diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticRange(Diagnostic: CXDiagnostic, Range: CUnsignedInt)(using Zone): CXSourceRange

Retrieve a source range associated with the diagnostic.

Retrieve a source range associated with the diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Retrieve the complete set of diagnostics associated with a translation unit.

Retrieve the complete set of diagnostics associated with a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the severity of the given diagnostic.

Determine the severity of the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getDiagnosticSpelling(_0: CXDiagnostic)(`__return`: Ptr[CXString]): Unit

Retrieve the text of the given diagnostic.

Retrieve the text of the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

Retrieve the text of the given diagnostic.

Retrieve the text of the given diagnostic.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getElementType(T: CXType)(using Zone): CXType

Return the element type of an array, complex, or vector type.

Return the element type of an array, complex, or vector type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getElementType(T: Ptr[CXType])(using Zone): CXType

Return the element type of an array, complex, or vector type.

Return the element type of an array, complex, or vector type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getElementType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Return the element type of an array, complex, or vector type.

Return the element type of an array, complex, or vector type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getEnumConstantDeclUnsignedValue(C: CXCursor)(using Zone): CUnsignedLongLong

Retrieve the integer value of an enum constant declaration as an unsigned long long.

Retrieve the integer value of an enum constant declaration as an unsigned long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getEnumConstantDeclUnsignedValue(C: Ptr[CXCursor]): CUnsignedLongLong

Retrieve the integer value of an enum constant declaration as an unsigned long long.

Retrieve the integer value of an enum constant declaration as an unsigned long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getEnumConstantDeclValue(C: Ptr[CXCursor]): CLongLong

Retrieve the integer value of an enum constant declaration as a signed long long.

Retrieve the integer value of an enum constant declaration as a signed long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getEnumConstantDeclValue(C: CXCursor)(using Zone): CLongLong

Retrieve the integer value of an enum constant declaration as a signed long long.

Retrieve the integer value of an enum constant declaration as a signed long long.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the integer type of an enum declaration.

Retrieve the integer type of an enum declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getEnumDeclIntegerType(C: Ptr[CXCursor])(using Zone): CXType

Retrieve the integer type of an enum declaration.

Retrieve the integer type of an enum declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getEnumDeclIntegerType(C: Ptr[CXCursor])(`__return`: Ptr[CXType]): Unit

Retrieve the integer type of an enum declaration.

Retrieve the integer type of an enum declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the exception specification type associated with a function type. This is a value of type CXCursor_ExceptionSpecificationKind.

Retrieve the exception specification type associated with a function type. This is a value of type CXCursor_ExceptionSpecificationKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getExceptionSpecificationType(T: CXType)(using Zone): CInt

Retrieve the exception specification type associated with a function type. This is a value of type CXCursor_ExceptionSpecificationKind.

Retrieve the exception specification type associated with a function type. This is a value of type CXCursor_ExceptionSpecificationKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getExpansionLocation(location: Ptr[CXSourceLocation], file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt]): Unit

Retrieve the file, line, column, and offset represented by the given source location.

Retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getExpansionLocation(location: CXSourceLocation, file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt])(using Zone): Unit

Retrieve the file, line, column, and offset represented by the given source location.

Retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getFieldDeclBitWidth(C: CXCursor)(using Zone): CInt

Retrieve the bit width of a bit-field declaration as an integer.

Retrieve the bit width of a bit-field declaration as an integer.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the bit width of a bit-field declaration as an integer.

Retrieve the bit width of a bit-field declaration as an integer.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getFile(tu: CXTranslationUnit, file_name: CString): CXFile

Retrieve a file handle within the given translation unit.

Retrieve a file handle within the given translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getFileContents(tu: CXTranslationUnit, file: CXFile, size: Ptr[size_t]): CString

Retrieve the buffer associated with the given file.

Retrieve the buffer associated with the given file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getFileLocation(location: CXSourceLocation, file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt])(using Zone): Unit

Retrieve the file, line, column, and offset represented by the given source location.

Retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getFileLocation(location: Ptr[CXSourceLocation], file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt]): Unit

Retrieve the file, line, column, and offset represented by the given source location.

Retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getFileName(SFile: CXFile)(`__return`: Ptr[CXString]): Unit

Retrieve the complete file and path name of the given file.

Retrieve the complete file and path name of the given file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

def clang_getFileName(SFile: CXFile)(using Zone): CXString

Retrieve the complete file and path name of the given file.

Retrieve the complete file and path name of the given file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

Retrieve the last modification time of the given file.

Retrieve the last modification time of the given file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

def clang_getFileUniqueID(file: CXFile, outID: Ptr[CXFileUniqueID]): CInt

Retrieve the unique ID for the given file.

Retrieve the unique ID for the given file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXFile.h

Attributes

Retrieve the calling convention associated with a function type.

Retrieve the calling convention associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the calling convention associated with a function type.

Retrieve the calling convention associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getIBOutletCollectionType(_0: Ptr[CXCursor])(using Zone): CXType

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getIBOutletCollectionType(_0: Ptr[CXCursor])(`__return`: Ptr[CXType]): Unit

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getIncludedFile(cursor: CXCursor)(using Zone): CXFile

Retrieve the file that is included by the given inclusion directive cursor.

Retrieve the file that is included by the given inclusion directive cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the file that is included by the given inclusion directive cursor.

Retrieve the file that is included by the given inclusion directive cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getInclusions(tu: CXTranslationUnit, visitor: CXInclusionVisitor, client_data: CXClientData): Unit

Visit the set of preprocessor inclusions in a translation unit. The visitor function is called with the provided data for every included file. This does not include headers included by the PCH file (unless one is inspecting the inclusions in the PCH file itself).

Visit the set of preprocessor inclusions in a translation unit. The visitor function is called with the provided data for every included file. This does not include headers included by the PCH file (unless one is inspecting the inclusions in the PCH file itself).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getInstantiationLocation(location: CXSourceLocation, file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt])(using Zone): Unit

Legacy API to retrieve the file, line, column, and offset represented by the given source location.

Legacy API to retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getInstantiationLocation(location: Ptr[CXSourceLocation], file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt]): Unit

Legacy API to retrieve the file, line, column, and offset represented by the given source location.

Legacy API to retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getLocation(tu: CXTranslationUnit, file: CXFile, line: CUnsignedInt, column: CUnsignedInt)(using Zone): CXSourceLocation

Retrieves the source location associated with a given file/line/column in a particular translation unit.

Retrieves the source location associated with a given file/line/column in a particular translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getLocation(tu: CXTranslationUnit, file: CXFile, line: CUnsignedInt, column: CUnsignedInt)(`__return`: Ptr[CXSourceLocation]): Unit

Retrieves the source location associated with a given file/line/column in a particular translation unit.

Retrieves the source location associated with a given file/line/column in a particular translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getLocationForOffset(tu: CXTranslationUnit, file: CXFile, offset: CUnsignedInt)(using Zone): CXSourceLocation

Retrieves the source location associated with a given character offset in a particular translation unit.

Retrieves the source location associated with a given character offset in a particular translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getLocationForOffset(tu: CXTranslationUnit, file: CXFile, offset: CUnsignedInt)(`__return`: Ptr[CXSourceLocation]): Unit

Retrieves the source location associated with a given character offset in a particular translation unit.

Retrieves the source location associated with a given character offset in a particular translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a CXFile header file, return the module that contains it, if one exists.

Given a CXFile header file, return the module that contains it, if one exists.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNonReferenceType(CT: Ptr[CXType])(using Zone): CXType

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNonReferenceType(CT: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNonReferenceType(CT: CXType)(using Zone): CXType

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNullCursor()(`__return`: Ptr[CXCursor]): Unit

Retrieve the NULL cursor, which represents no entity.

Retrieve the NULL cursor, which represents no entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNullCursor()(using Zone): CXCursor

Retrieve the NULL cursor, which represents no entity.

Retrieve the NULL cursor, which represents no entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNullLocation()(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve a NULL (invalid) source location.

Retrieve a NULL (invalid) source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Retrieve a NULL (invalid) source location.

Retrieve a NULL (invalid) source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getNullRange()(using Zone): CXSourceRange

Retrieve a NULL (invalid) source range.

Retrieve a NULL (invalid) source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getNullRange()(`__return`: Ptr[CXSourceRange]): Unit

Retrieve a NULL (invalid) source range.

Retrieve a NULL (invalid) source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getNumArgTypes(T: CXType)(using Zone): CInt

Retrieve the number of non-variadic parameters associated with a function type.

Retrieve the number of non-variadic parameters associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumArgTypes(T: Ptr[CXType]): CInt

Retrieve the number of non-variadic parameters associated with a function type.

Retrieve the number of non-variadic parameters associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumCompletionChunks(completion_string: CXCompletionString): CUnsignedInt

Retrieve the number of chunks in the given code-completion string.

Retrieve the number of chunks in the given code-completion string.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumDiagnostics(Unit: CXTranslationUnit): CUnsignedInt

Determine the number of diagnostics produced for the given translation unit.

Determine the number of diagnostics produced for the given translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumDiagnosticsInSet(Diags: CXDiagnosticSet): CUnsignedInt

Determine the number of diagnostics in a CXDiagnosticSet.

Determine the number of diagnostics in a CXDiagnosticSet.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_getNumElements(T: Ptr[CXType]): CLongLong

Return the number of elements of an array or vector type.

Return the number of elements of an array or vector type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumElements(T: CXType)(using Zone): CLongLong

Return the number of elements of an array or vector type.

Return the number of elements of an array or vector type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumOverloadedDecls(cursor: CXCursor)(using Zone): CUnsignedInt

Determine the number of overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

Determine the number of overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getNumOverloadedDecls(cursor: Ptr[CXCursor]): CUnsignedInt

Determine the number of overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

Determine the number of overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getOverloadedDecl(cursor: Ptr[CXCursor], index: CUnsignedInt)(`__return`: Ptr[CXCursor]): Unit

Retrieve a cursor for one of the overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

Retrieve a cursor for one of the overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getOverloadedDecl(cursor: Ptr[CXCursor], index: CUnsignedInt)(using Zone): CXCursor

Retrieve a cursor for one of the overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

Retrieve a cursor for one of the overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getOverloadedDecl(cursor: CXCursor, index: CUnsignedInt)(using Zone): CXCursor

Retrieve a cursor for one of the overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

Retrieve a cursor for one of the overloaded declarations referenced by a CXCursor_OverloadedDeclRef cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getOverriddenCursors(cursor: Ptr[CXCursor], overridden: Ptr[Ptr[CXCursor]], num_overridden: Ptr[CUnsignedInt]): Unit

Determine the set of methods that are overridden by the given method.

Determine the set of methods that are overridden by the given method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getOverriddenCursors(cursor: CXCursor, overridden: Ptr[Ptr[CXCursor]], num_overridden: Ptr[CUnsignedInt])(using Zone): Unit

Determine the set of methods that are overridden by the given method.

Determine the set of methods that are overridden by the given method.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getPointeeType(T: CXType)(using Zone): CXType

For pointer types, returns the type of the pointee.

For pointer types, returns the type of the pointee.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getPointeeType(T: Ptr[CXType])(using Zone): CXType

For pointer types, returns the type of the pointee.

For pointer types, returns the type of the pointee.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getPointeeType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

For pointer types, returns the type of the pointee.

For pointer types, returns the type of the pointee.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getPresumedLocation(location: CXSourceLocation, filename: Ptr[CXString], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt])(using Zone): Unit

Retrieve the file, line and column represented by the given source location, as specified in a # line directive.

Retrieve the file, line and column represented by the given source location, as specified in a # line directive.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getPresumedLocation(location: Ptr[CXSourceLocation], filename: Ptr[CXString], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt]): Unit

Retrieve the file, line and column represented by the given source location, as specified in a # line directive.

Retrieve the file, line and column represented by the given source location, as specified in a # line directive.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Retrieve a source range given the beginning and ending source locations.

Retrieve a source range given the beginning and ending source locations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRange(begin: Ptr[CXSourceLocation], end: Ptr[CXSourceLocation])(`__return`: Ptr[CXSourceRange]): Unit

Retrieve a source range given the beginning and ending source locations.

Retrieve a source range given the beginning and ending source locations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRange(begin: Ptr[CXSourceLocation], end: Ptr[CXSourceLocation])(using Zone): CXSourceRange

Retrieve a source range given the beginning and ending source locations.

Retrieve a source range given the beginning and ending source locations.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRangeEnd(range: Ptr[CXSourceRange])(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve a source location representing the last character within a source range.

Retrieve a source location representing the last character within a source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRangeEnd(range: Ptr[CXSourceRange])(using Zone): CXSourceLocation

Retrieve a source location representing the last character within a source range.

Retrieve a source location representing the last character within a source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Retrieve a source location representing the last character within a source range.

Retrieve a source location representing the last character within a source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRangeStart(range: Ptr[CXSourceRange])(using Zone): CXSourceLocation

Retrieve a source location representing the first character within a source range.

Retrieve a source location representing the first character within a source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRangeStart(range: Ptr[CXSourceRange])(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve a source location representing the first character within a source range.

Retrieve a source location representing the first character within a source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Retrieve a source location representing the first character within a source range.

Retrieve a source location representing the first character within a source range.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getRemappings(path: CString): CXRemapping

Retrieve a remapping.

Retrieve a remapping.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getRemappingsFromFileList(filePaths: Ptr[CString], numFiles: CUnsignedInt): CXRemapping

Retrieve a remapping.

Retrieve a remapping.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getResultType(T: Ptr[CXType])(using Zone): CXType

Retrieve the return type associated with a function type.

Retrieve the return type associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getResultType(T: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Retrieve the return type associated with a function type.

Retrieve the return type associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getResultType(T: CXType)(using Zone): CXType

Retrieve the return type associated with a function type.

Retrieve the return type associated with a function type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve all ranges that were skipped by the preprocessor.

Retrieve all ranges that were skipped by the preprocessor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated.

Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated.

Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getSpecializedCursorTemplate(C: Ptr[CXCursor])(`__return`: Ptr[CXCursor]): Unit

Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated.

Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getSpellingLocation(location: CXSourceLocation, file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt])(using Zone): Unit

Retrieve the file, line, column, and offset represented by the given source location.

Retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

def clang_getSpellingLocation(location: Ptr[CXSourceLocation], file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt]): Unit

Retrieve the file, line, column, and offset represented by the given source location.

Retrieve the file, line, column, and offset represented by the given source location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXSourceLocation.h

Attributes

Returns the human-readable null-terminated C string that represents the name of the memory category. This string should never be freed.

Returns the human-readable null-terminated C string that represents the name of the memory category. This string should never be freed.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a template, determine the cursor kind of the specializations would be generated by instantiating the template.

Given a cursor that represents a template, determine the cursor kind of the specializations would be generated by instantiating the template.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Given a cursor that represents a template, determine the cursor kind of the specializations would be generated by instantiating the template.

Given a cursor that represents a template, determine the cursor kind of the specializations would be generated by instantiating the template.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getToken(TU: CXTranslationUnit, Location: CXSourceLocation)(using Zone): Ptr[CXToken]

Get the raw lexical token starting with the given location.

Get the raw lexical token starting with the given location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getToken(TU: CXTranslationUnit, Location: Ptr[CXSourceLocation]): Ptr[CXToken]

Get the raw lexical token starting with the given location.

Get the raw lexical token starting with the given location.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTokenExtent(_0: CXTranslationUnit, _1: Ptr[CXToken])(`__return`: Ptr[CXSourceRange]): Unit

Retrieve a source range that covers the given token.

Retrieve a source range that covers the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve a source range that covers the given token.

Retrieve a source range that covers the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve a source range that covers the given token.

Retrieve a source range that covers the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTokenKind(_0: CXToken)(using Zone): CXTokenKind

Determine the kind of the given token.

Determine the kind of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the kind of the given token.

Determine the kind of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the source location of the given token.

Retrieve the source location of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the source location of the given token.

Retrieve the source location of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTokenLocation(_0: CXTranslationUnit, _1: Ptr[CXToken])(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve the source location of the given token.

Retrieve the source location of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTokenSpelling(_0: CXTranslationUnit, _1: Ptr[CXToken])(using Zone): CXString

Determine the spelling of the given token.

Determine the spelling of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTokenSpelling(_0: CXTranslationUnit, _1: Ptr[CXToken])(`__return`: Ptr[CXString]): Unit

Determine the spelling of the given token.

Determine the spelling of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine the spelling of the given token.

Determine the spelling of the given token.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTranslationUnitCursor(_0: CXTranslationUnit)(`__return`: Ptr[CXCursor]): Unit

Retrieve the cursor that represents the given translation unit.

Retrieve the cursor that represents the given translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the cursor that represents the given translation unit.

Retrieve the cursor that represents the given translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Get the original translation unit source file name.

Get the original translation unit source file name.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTranslationUnitSpelling(CTUnit: CXTranslationUnit)(`__return`: Ptr[CXString]): Unit

Get the original translation unit source file name.

Get the original translation unit source file name.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Get target information for this translation unit.

Get target information for this translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Return the cursor for the declaration of the given type.

Return the cursor for the declaration of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypeDeclaration(T: Ptr[CXType])(using Zone): CXCursor

Return the cursor for the declaration of the given type.

Return the cursor for the declaration of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypeDeclaration(T: Ptr[CXType])(`__return`: Ptr[CXCursor]): Unit

Return the cursor for the declaration of the given type.

Return the cursor for the declaration of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the spelling of a given CXTypeKind.

Retrieve the spelling of a given CXTypeKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypeKindSpelling(K: CXTypeKind)(`__return`: Ptr[CXString]): Unit

Retrieve the spelling of a given CXTypeKind.

Retrieve the spelling of a given CXTypeKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypeSpelling(CT: Ptr[CXType])(using Zone): CXString

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypeSpelling(CT: CXType)(using Zone): CXString

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypeSpelling(CT: Ptr[CXType])(`__return`: Ptr[CXString]): Unit

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the underlying type of a typedef declaration.

Retrieve the underlying type of a typedef declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the underlying type of a typedef declaration.

Retrieve the underlying type of a typedef declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypedefDeclUnderlyingType(C: Ptr[CXCursor])(`__return`: Ptr[CXType]): Unit

Retrieve the underlying type of a typedef declaration.

Retrieve the underlying type of a typedef declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypedefName(CT: Ptr[CXType])(using Zone): CXString

Returns the typedef name of the given type.

Returns the typedef name of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypedefName(CT: CXType)(using Zone): CXString

Returns the typedef name of the given type.

Returns the typedef name of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getTypedefName(CT: Ptr[CXType])(`__return`: Ptr[CXString]): Unit

Returns the typedef name of the given type.

Returns the typedef name of the given type.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the spelling of a given CXUnaryOperatorKind.

Retrieve the spelling of a given CXUnaryOperatorKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the spelling of a given CXUnaryOperatorKind.

Retrieve the spelling of a given CXUnaryOperatorKind.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getUnqualifiedType(CT: Ptr[CXType])(`__return`: Ptr[CXType]): Unit

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getUnqualifiedType(CT: Ptr[CXType])(using Zone): CXType

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_getUnqualifiedType(CT: CXType)(using Zone): CXType

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_hashCursor(_0: CXCursor)(using Zone): CUnsignedInt

Compute a hash value for the given cursor.

Compute a hash value for the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_hashCursor(_0: Ptr[CXCursor]): CUnsignedInt

Compute a hash value for the given cursor.

Compute a hash value for the given cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_indexLoc_getCXSourceLocation(loc: Ptr[CXIdxLoc])(`__return`: Ptr[CXSourceLocation]): Unit

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_indexLoc_getFileLocation(loc: CXIdxLoc, indexFile: Ptr[CXIdxClientFile], file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt])(using Zone): Unit

Retrieve the CXIdxFile, file, line, column, and offset represented by the given CXIdxLoc.

Retrieve the CXIdxFile, file, line, column, and offset represented by the given CXIdxLoc.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_indexLoc_getFileLocation(loc: Ptr[CXIdxLoc], indexFile: Ptr[CXIdxClientFile], file: Ptr[CXFile], line: Ptr[CUnsignedInt], column: Ptr[CUnsignedInt], offset: Ptr[CUnsignedInt]): Unit

Retrieve the CXIdxFile, file, line, column, and offset represented by the given CXIdxLoc.

Retrieve the CXIdxFile, file, line, column, and offset represented by the given CXIdxLoc.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_indexSourceFile(_0: CXIndexAction, client_data: CXClientData, index_callbacks: Ptr[IndexerCallbacks], index_callbacks_size: CUnsignedInt, index_options: CUnsignedInt, source_filename: CString, command_line_args: Ptr[CString], num_command_line_args: CInt, unsaved_files: Ptr[CXUnsavedFile], num_unsaved_files: CUnsignedInt, out_TU: Ptr[CXTranslationUnit], TU_options: CUnsignedInt): CInt

Index the given source file and the translation unit corresponding to that file via callbacks implemented through #IndexerCallbacks.

Index the given source file and the translation unit corresponding to that file via callbacks implemented through #IndexerCallbacks.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_indexSourceFileFullArgv(_0: CXIndexAction, client_data: CXClientData, index_callbacks: Ptr[IndexerCallbacks], index_callbacks_size: CUnsignedInt, index_options: CUnsignedInt, source_filename: CString, command_line_args: Ptr[CString], num_command_line_args: CInt, unsaved_files: Ptr[CXUnsavedFile], num_unsaved_files: CUnsignedInt, out_TU: Ptr[CXTranslationUnit], TU_options: CUnsignedInt): CInt

Same as clang_indexSourceFile but requires a full command line for command_line_args including argv[0]. This is useful if the standard library paths are relative to the binary.

Same as clang_indexSourceFile but requires a full command line for command_line_args including argv[0]. This is useful if the standard library paths are relative to the binary.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_indexTranslationUnit(_0: CXIndexAction, client_data: CXClientData, index_callbacks: Ptr[IndexerCallbacks], index_callbacks_size: CUnsignedInt, index_options: CUnsignedInt, _5: CXTranslationUnit): CInt

Index the given translation unit via callbacks implemented through #IndexerCallbacks.

Index the given translation unit via callbacks implemented through #IndexerCallbacks.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For retrieving a custom CXIdxClientContainer attached to a container.

For retrieving a custom CXIdxClientContainer attached to a container.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For retrieving a custom CXIdxClientEntity attached to an entity.

For retrieving a custom CXIdxClientEntity attached to an entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For setting a custom CXIdxClientContainer attached to a container.

For setting a custom CXIdxClientContainer attached to a container.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

For setting a custom CXIdxClientEntity attached to an entity.

For setting a custom CXIdxClientEntity attached to an entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isAttribute(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents an attribute.

Determine whether the given cursor kind represents an attribute.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isConstQualifiedType(T: CXType)(using Zone): CUnsignedInt

Determine whether a CXType has the "const" qualifier set, without looking through typedefs that may have added "const" at a different level.

Determine whether a CXType has the "const" qualifier set, without looking through typedefs that may have added "const" at a different level.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isConstQualifiedType(T: Ptr[CXType]): CUnsignedInt

Determine whether a CXType has the "const" qualifier set, without looking through typedefs that may have added "const" at a different level.

Determine whether a CXType has the "const" qualifier set, without looking through typedefs that may have added "const" at a different level.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isCursorDefinition(_0: CXCursor)(using Zone): CUnsignedInt

Determine whether the declaration pointed to by this cursor is also a definition of that entity.

Determine whether the declaration pointed to by this cursor is also a definition of that entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isCursorDefinition(_0: Ptr[CXCursor]): CUnsignedInt

Determine whether the declaration pointed to by this cursor is also a definition of that entity.

Determine whether the declaration pointed to by this cursor is also a definition of that entity.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isDeclaration(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents a declaration.

Determine whether the given cursor kind represents a declaration.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isExpression(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents an expression.

Determine whether the given cursor kind represents an expression.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Determine whether the given header is guarded against multiple inclusions, either with the conventional #ifndef/#define/#endif macro guards or with #pragma once.

Determine whether the given header is guarded against multiple inclusions, either with the conventional #ifndef/#define/#endif macro guards or with #pragma once.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isFunctionTypeVariadic(T: Ptr[CXType]): CUnsignedInt

Return 1 if the CXType is a variadic function type, and 0 otherwise.

Return 1 if the CXType is a variadic function type, and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isFunctionTypeVariadic(T: CXType)(using Zone): CUnsignedInt

Return 1 if the CXType is a variadic function type, and 0 otherwise.

Return 1 if the CXType is a variadic function type, and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isInvalid(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents an invalid cursor.

Determine whether the given cursor kind represents an invalid cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isInvalidDeclaration(_0: Ptr[CXCursor]): CUnsignedInt

Determine whether the given declaration is invalid.

Determine whether the given declaration is invalid.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isInvalidDeclaration(_0: CXCursor)(using Zone): CUnsignedInt

Determine whether the given declaration is invalid.

Determine whether the given declaration is invalid.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isPODType(T: CXType)(using Zone): CUnsignedInt

Return 1 if the CXType is a POD (plain old data) type, and 0 otherwise.

Return 1 if the CXType is a POD (plain old data) type, and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isPODType(T: Ptr[CXType]): CUnsignedInt

Return 1 if the CXType is a POD (plain old data) type, and 0 otherwise.

Return 1 if the CXType is a POD (plain old data) type, and 0 otherwise.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isPreprocessing(_0: CXCursorKind): CUnsignedInt

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

  • Determine whether the given cursor represents a preprocessing element, such as a preprocessor directive or macro instantiation.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isReference(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents a simple reference.

Determine whether the given cursor kind represents a simple reference.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isRestrictQualifiedType(T: Ptr[CXType]): CUnsignedInt

Determine whether a CXType has the "restrict" qualifier set, without looking through typedefs that may have added "restrict" at a different level.

Determine whether a CXType has the "restrict" qualifier set, without looking through typedefs that may have added "restrict" at a different level.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isRestrictQualifiedType(T: CXType)(using Zone): CUnsignedInt

Determine whether a CXType has the "restrict" qualifier set, without looking through typedefs that may have added "restrict" at a different level.

Determine whether a CXType has the "restrict" qualifier set, without looking through typedefs that may have added "restrict" at a different level.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isStatement(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents a statement.

Determine whether the given cursor kind represents a statement.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isTranslationUnit(_0: CXCursorKind): CUnsignedInt

Determine whether the given cursor kind represents a translation unit.

Determine whether the given cursor kind represents a translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isUnexposed(_0: CXCursorKind): CUnsignedInt

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

  • Determine whether the given cursor represents a currently unexposed piece of the AST (e.g., CXCursor_UnexposedStmt).

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isVirtualBase(_0: Ptr[CXCursor]): CUnsignedInt

Returns 1 if the base class specified by the cursor with kind CX_CXXBaseSpecifier is virtual.

Returns 1 if the base class specified by the cursor with kind CX_CXXBaseSpecifier is virtual.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isVirtualBase(_0: CXCursor)(using Zone): CUnsignedInt

Returns 1 if the base class specified by the cursor with kind CX_CXXBaseSpecifier is virtual.

Returns 1 if the base class specified by the cursor with kind CX_CXXBaseSpecifier is virtual.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isVolatileQualifiedType(T: CXType)(using Zone): CUnsignedInt

Determine whether a CXType has the "volatile" qualifier set, without looking through typedefs that may have added "volatile" at a different level.

Determine whether a CXType has the "volatile" qualifier set, without looking through typedefs that may have added "volatile" at a different level.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_isVolatileQualifiedType(T: Ptr[CXType]): CUnsignedInt

Determine whether a CXType has the "volatile" qualifier set, without looking through typedefs that may have added "volatile" at a different level.

Determine whether a CXType has the "volatile" qualifier set, without looking through typedefs that may have added "volatile" at a different level.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_loadDiagnostics(file: CString, error: Ptr[CXLoadDiag_Error], errorString: Ptr[CXString]): CXDiagnosticSet

Deserialize a set of diagnostics from a Clang diagnostics bitcode file.

Deserialize a set of diagnostics from a Clang diagnostics bitcode file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/CXDiagnostic.h

Attributes

def clang_parseTranslationUnit(CIdx: CXIndex, source_filename: CString, command_line_args: Ptr[CString], num_command_line_args: CInt, unsaved_files: Ptr[CXUnsavedFile], num_unsaved_files: CUnsignedInt, options: CUnsignedInt): CXTranslationUnit

Same as clang_parseTranslationUnit2, but returns the CXTranslationUnit instead of an error code. In case of an error this routine returns a NULL CXTranslationUnit, without further detailed error codes.

Same as clang_parseTranslationUnit2, but returns the CXTranslationUnit instead of an error code. In case of an error this routine returns a NULL CXTranslationUnit, without further detailed error codes.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_parseTranslationUnit2(CIdx: CXIndex, source_filename: CString, command_line_args: Ptr[CString], num_command_line_args: CInt, unsaved_files: Ptr[CXUnsavedFile], num_unsaved_files: CUnsignedInt, options: CUnsignedInt, out_TU: Ptr[CXTranslationUnit]): CXErrorCode

Parse the given source file and the translation unit corresponding to that file.

Parse the given source file and the translation unit corresponding to that file.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_parseTranslationUnit2FullArgv(CIdx: CXIndex, source_filename: CString, command_line_args: Ptr[CString], num_command_line_args: CInt, unsaved_files: Ptr[CXUnsavedFile], num_unsaved_files: CUnsignedInt, options: CUnsignedInt, out_TU: Ptr[CXTranslationUnit]): CXErrorCode

Same as clang_parseTranslationUnit2 but requires a full command line for command_line_args including argv[0]. This is useful if the standard library paths are relative to the binary.

Same as clang_parseTranslationUnit2 but requires a full command line for command_line_args including argv[0]. This is useful if the standard library paths are relative to the binary.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Dispose the remapping.

Dispose the remapping.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_remap_getFilenames(_0: CXRemapping, index: CUnsignedInt, original: Ptr[CXString], transformed: Ptr[CXString]): Unit

Get the original and the associated filename from the remapping.

Get the original and the associated filename from the remapping.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_remap_getNumFiles(_0: CXRemapping): CUnsignedInt

Determine the number of remappings.

Determine the number of remappings.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_reparseTranslationUnit(TU: CXTranslationUnit, num_unsaved_files: CUnsignedInt, unsaved_files: Ptr[CXUnsavedFile], options: CUnsignedInt): CInt

Reparse the source files that produced this translation unit.

Reparse the source files that produced this translation unit.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_saveTranslationUnit(TU: CXTranslationUnit, FileName: CString, options: CUnsignedInt): CInt

Saves a translation unit into a serialized representation of that translation unit on disk.

Saves a translation unit into a serialized representation of that translation unit on disk.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_sortCodeCompletionResults(Results: Ptr[CXCompletionResult], NumResults: CUnsignedInt): Unit

Sort the code-completion results in case-insensitive alphabetical order.

Sort the code-completion results in case-insensitive alphabetical order.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

Suspend a translation unit in order to free memory associated with it.

Suspend a translation unit in order to free memory associated with it.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_toggleCrashRecovery(isEnabled: CUnsignedInt): Unit

Enable/disable crash recovery.

Enable/disable crash recovery.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_tokenize(TU: CXTranslationUnit, Range: CXSourceRange, Tokens: Ptr[Ptr[CXToken]], NumTokens: Ptr[CUnsignedInt])(using Zone): Unit

Tokenize the source code described by the given range into raw lexical tokens.

Tokenize the source code described by the given range into raw lexical tokens.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_tokenize(TU: CXTranslationUnit, Range: Ptr[CXSourceRange], Tokens: Ptr[Ptr[CXToken]], NumTokens: Ptr[CUnsignedInt]): Unit

Tokenize the source code described by the given range into raw lexical tokens.

Tokenize the source code described by the given range into raw lexical tokens.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_visitChildren(parent: CXCursor, visitor: CXCursorVisitor, client_data: CXClientData)(using Zone): CUnsignedInt

Visit the children of a particular cursor.

Visit the children of a particular cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_visitChildren(parent: Ptr[CXCursor], visitor: CXCursorVisitor, client_data: CXClientData): CUnsignedInt

Visit the children of a particular cursor.

Visit the children of a particular cursor.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_visitChildrenWithBlock(parent: CXCursor, block: CXCursorVisitorBlock)(using Zone): CUnsignedInt

Visits the children of a cursor using the specified block. Behaves identically to clang_visitChildren() in all other respects.

Visits the children of a cursor using the specified block. Behaves identically to clang_visitChildren() in all other respects.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes

def clang_visitChildrenWithBlock(parent: Ptr[CXCursor], block: CXCursorVisitorBlock): CUnsignedInt

Visits the children of a cursor using the specified block. Behaves identically to clang_visitChildren() in all other respects.

Visits the children of a cursor using the specified block. Behaves identically to clang_visitChildren() in all other respects.

[bindgen] header: /opt/homebrew/opt/llvm@17/include/clang-c/Index.h

Attributes