Top Inners Fields Constructors Methods
org.lwjgl.llvm

public Class ClangIndex

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ClangIndex.Functions

Contains the function pointers loaded from the CLANG SharedLibrary.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final String
private static final SharedLibrary
public static final int
CX_CXXInvalidAccessSpecifier

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

public static final int
CX_CXXPrivate

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

public static final int
CX_CXXProtected

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

public static final int
CX_CXXPublic

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

public static final int
CX_SC_Auto

Represents the storage classes as declared in the source.

public static final int
CX_SC_Extern

Represents the storage classes as declared in the source.

public static final int
CX_SC_Invalid

Represents the storage classes as declared in the source.

public static final int
CX_SC_None

Represents the storage classes as declared in the source.

public static final int
CX_SC_OpenCLWorkGroupLocal

Represents the storage classes as declared in the source.

public static final int
CX_SC_PrivateExtern

Represents the storage classes as declared in the source.

public static final int
CX_SC_Register

Represents the storage classes as declared in the source.

public static final int
CX_SC_Static

Represents the storage classes as declared in the source.

public static final int
CXAvailability_Available

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.

public static final int
CXAvailability_Deprecated

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.

public static final int
CXAvailability_NotAccessible

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.

public static final int
CXAvailability_NotAvailable

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.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
CXChildVisit_Break

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

public static final int
CXChildVisit_Continue

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

public static final int
CXChildVisit_Recurse

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

public static final int
CXCodeComplete_IncludeBriefComments

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

public static final int
CXCodeComplete_IncludeCodePatterns

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

public static final int
CXCodeComplete_IncludeCompletionsWithFixIts

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

public static final int
CXCodeComplete_IncludeMacros

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

public static final int
CXCodeComplete_SkipPreamble

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

public static final int
CXCompletionChunk_Colon

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

public static final int
CXCompletionChunk_Comma

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

public static final int
CXCompletionChunk_CurrentParameter

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

public static final int
CXCompletionChunk_Equal

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

public static final int
CXCompletionChunk_HorizontalSpace

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

public static final int
CXCompletionChunk_Informative

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

public static final int
CXCompletionChunk_LeftAngle

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

public static final int
CXCompletionChunk_LeftBrace

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

public static final int
CXCompletionChunk_LeftBracket

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

public static final int
CXCompletionChunk_LeftParen

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

public static final int
CXCompletionChunk_Optional

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

public static final int
CXCompletionChunk_Placeholder

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

public static final int
CXCompletionChunk_ResultType

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

public static final int
CXCompletionChunk_RightAngle

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

public static final int
CXCompletionChunk_RightBrace

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

public static final int
CXCompletionChunk_RightBracket

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

public static final int
CXCompletionChunk_RightParen

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

public static final int
CXCompletionChunk_SemiColon

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

public static final int
CXCompletionChunk_Text

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

public static final int
CXCompletionChunk_TypedText

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

public static final int
CXCompletionChunk_VerticalSpace

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

public static final int
CXCompletionContext_AnyType

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_AnyValue

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ArrowMemberAccess

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ClassTag

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_CXXClassTypeValue

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_DotMemberAccess

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_EnumTag

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_IncludedFile

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_MacroName

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_Namespace

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_NaturalLanguage

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_NestedNameSpecifier

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCCategory

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCClassMessage

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCInstanceMessage

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCInterface

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCObjectValue

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCPropertyAccess

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCProtocol

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCSelectorName

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_ObjCSelectorValue

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_StructTag

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_Unexposed

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_UnionTag

Bits that represent the context under which completion is occurring.

public static final int
CXCompletionContext_Unknown

Bits that represent the context under which completion is occurring.

public static final int
CXCursor_AddrLabelExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_AlignedAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_AnnotateAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ArraySubscriptExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_AsmLabelAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_AsmStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_BinaryOperator

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_BlockExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_BreakStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_BuiltinBitCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CallExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CaseStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CharacterLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ClassDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ClassTemplate

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ClassTemplatePartialSpecialization

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CompoundAssignOperator

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CompoundLiteralExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CompoundStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ConceptDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ConceptSpecializationExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ConditionalOperator

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ConstAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_Constructor

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ContinueStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ConvergentAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ConversionFunction

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CStyleCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CUDAConstantAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CUDADeviceAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CUDAGlobalAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CUDAHostAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CUDASharedAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXAccessSpecifier

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXAddrspaceCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXBaseSpecifier

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXBoolLiteralExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXCatchStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXConstCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXDeleteExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXDynamicCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXFinalAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXForRangeStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXFunctionalCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXMethod

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXNewExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXNullPtrLiteralExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXOverrideAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXParenListInitExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXReinterpretCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXStaticCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXThisExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXThrowExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXTryStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_CXXTypeidExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_DeclRefExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_DeclStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_DefaultStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_Destructor

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_DLLExport

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_DLLImport

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_DoStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_EnumConstantDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_EnumDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ExceptionSpecificationKind_BasicNoexcept

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_ComputedNoexcept

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_Dynamic

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_DynamicNone

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_MSAny

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_None

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_NoThrow

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_Unevaluated

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_Uninstantiated

Describes the exception specification of a cursor.

public static final int
CXCursor_ExceptionSpecificationKind_Unparsed

Describes the exception specification of a cursor.

public static final int
CXCursor_FieldDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstExtraDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstInvalid

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstPreprocessing

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FirstStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FixedPointLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FlagEnum

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FloatingLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ForStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FriendDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FunctionDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_FunctionTemplate

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_GCCAsmStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_GenericSelectionExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_GNUNullExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_GotoStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_IBActionAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_IBOutletAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_IBOutletCollectionAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_IfStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ImaginaryLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_InclusionDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_IndirectGotoStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_InitListExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_IntegerLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_InvalidCode

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_InvalidFile

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LabelRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LabelStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LambdaExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastExtraDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastInvalid

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastPreprocessing

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LastStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_LinkageSpec

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_MacroDefinition

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_MacroExpansion

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_MacroInstantiation

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_MemberRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_MemberRefExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ModuleImportDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_MSAsmStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_Namespace

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NamespaceAlias

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NamespaceRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NoDeclFound

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NoDuplicateAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NonTypeTemplateParameter

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NotImplemented

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NSConsumed

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NSConsumesSelf

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NSReturnsAutoreleased

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NSReturnsNotRetained

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NSReturnsRetained

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_NullStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAtCatchStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAtFinallyStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAtSynchronizedStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAtThrowStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAtTryStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAutoreleasePoolStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCAvailabilityCheckExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCBoolLiteralExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCBoxable

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCBridgedCastExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCCategoryDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCCategoryImplDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCClassMethodDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCClassRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCDesignatedInitializer

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCDynamicDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCEncodeExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCException

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCExplicitProtocolImpl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCForCollectionStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCImplementationDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCIndependentClass

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCInstanceMethodDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCInterfaceDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCIvarDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCMessageExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCNSObject

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCPreciseLifetime

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCPropertyDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCProtocolDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCProtocolExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCProtocolRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCRequiresSuper

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCReturnsInnerPointer

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCRootClass

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCRuntimeVisible

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCSelectorExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCSelfExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCStringLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCSubclassingRestricted

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCSuperClassRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ObjCSynthesizeDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPArraySectionExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPArrayShapingExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPAtomicDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPBarrierDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPCancelDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPCancellationPointDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPCanonicalLoop

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPCriticalDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPDepobjDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPDispatchDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPDistributeDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPDistributeParallelForDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPDistributeParallelForSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPDistributeSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPErrDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPFlushDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPForDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPForSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPGenericLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPInteropDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPIteratorExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMaskedDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMaskedTaskLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMaskedTaskLoopSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMasterDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMasterTaskLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMasterTaskLoopSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPMetaDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPOrderedDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelForDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelForSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelGenericLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelMaskedDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelMaskedTaskLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelMaskedTaskLoopSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelMasterDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelMasterTaskLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelMasterTaskLoopSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPParallelSectionsDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPScanDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPSectionDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPSectionsDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPSingleDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetDataDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetEnterDataDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetExitDataDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetParallelDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetParallelForDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetParallelForSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetParallelGenericLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetTeamsDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetTeamsDistributeDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetTeamsDistributeParallelForDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetTeamsDistributeParallelForSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetTeamsDistributeSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetTeamsGenericLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTargetUpdateDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTaskDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTaskgroupDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTaskLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTaskLoopSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTaskwaitDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTaskyieldDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTeamsDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTeamsDistributeDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTeamsDistributeParallelForDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTeamsDistributeParallelForSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTeamsDistributeSimdDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTeamsGenericLoopDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPTileDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OMPUnrollDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OverloadCandidate

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_OverloadedDeclRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_PackedAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_PackExpansionExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ParenExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ParmDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_PreprocessingDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_PureAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_RequiresExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_ReturnStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_SEHExceptStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_SEHFinallyStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_SEHLeaveStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_SEHTryStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_SizeOfPackExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_StaticAssert

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_StmtExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_StringLiteral

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_StructDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_SwitchStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TemplateRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TemplateTemplateParameter

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TemplateTypeParameter

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TranslationUnit

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TypeAliasDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TypeAliasTemplateDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TypedefDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_TypeRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnaryExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnaryOperator

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnexposedAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnexposedDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnexposedExpr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnexposedStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UnionDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UsingDeclaration

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_UsingDirective

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_VarDecl

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_VariableRef

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_VisibilityAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_WarnUnusedAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_WarnUnusedResultAttr

Describes the kind of entity that a cursor refers to.

public static final int
CXCursor_WhileStmt

Describes the kind of entity that a cursor refers to.

public static final int
CXDiagnostic_DisplayCategoryId

Options to control the display of diagnostics.

public static final int
CXDiagnostic_DisplayCategoryName

Options to control the display of diagnostics.

public static final int
CXDiagnostic_DisplayColumn

Options to control the display of diagnostics.

public static final int
CXDiagnostic_DisplayOption

Options to control the display of diagnostics.

public static final int
CXDiagnostic_DisplaySourceLocation

Options to control the display of diagnostics.

public static final int
CXDiagnostic_DisplaySourceRanges

Options to control the display of diagnostics.

public static final int
CXDiagnostic_Error

Describes the severity of a particular diagnostic.

public static final int
CXDiagnostic_Fatal

Describes the severity of a particular diagnostic.

public static final int
CXDiagnostic_Ignored

Describes the severity of a particular diagnostic.

public static final int
CXDiagnostic_Note

Describes the severity of a particular diagnostic.

public static final int
CXDiagnostic_Warning

Describes the severity of a particular diagnostic.

public static final int
CXError_ASTReadError

Error codes returned by libclang routines.

public static final int
CXError_Crashed

Error codes returned by libclang routines.

public static final int
CXError_Failure

Error codes returned by libclang routines.

public static final int
CXError_InvalidArguments

Error codes returned by libclang routines.

public static final int
CXError_Success

Error codes returned by libclang routines.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
CXGlobalOpt_None

CXGlobalOptFlags Enum values:

public static final int
CXGlobalOpt_ThreadBackgroundPriorityForAll

CXGlobalOptFlags Enum values:

public static final int
CXGlobalOpt_ThreadBackgroundPriorityForEditing

CXGlobalOptFlags Enum values:

public static final int
CXGlobalOpt_ThreadBackgroundPriorityForIndexing

CXGlobalOptFlags Enum values:

public static final int
public static final int
public static final int
public static final int
public static final int
CXIdxDeclFlag_Skipped

CXIdxDeclInfoFlags

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
CXIdxEntity_NonTemplate

Extra C++ template information for an entity.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
CXIdxEntity_Template

Extra C++ template information for an entity.

public static final int
CXIdxEntity_TemplatePartialSpecialization

Extra C++ template information for an entity.

public static final int
CXIdxEntity_TemplateSpecialization

Extra C++ template information for an entity.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
CXIndexOpt_IndexFunctionLocalSymbols

CXIndexOptFlags Enum values:

public static final int
CXIndexOpt_IndexImplicitTemplateInstantiations

CXIndexOptFlags Enum values:

public static final int
CXIndexOpt_None

CXIndexOptFlags Enum values:

public static final int
CXIndexOpt_SkipParsedBodiesInSession

CXIndexOptFlags Enum values:

public static final int
CXIndexOpt_SuppressRedundantRefs

CXIndexOptFlags Enum values:

public static final int
CXIndexOpt_SuppressWarnings

CXIndexOptFlags Enum values:

public static final int
CXLanguage_C

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

public static final int
CXLanguage_CPlusPlus

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

public static final int
CXLanguage_Invalid

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

public static final int
CXLanguage_ObjC

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

public static final int
CXLinkage_External

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

public static final int
CXLinkage_Internal

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

public static final int
CXLinkage_Invalid

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

public static final int
CXLinkage_NoLinkage

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

public static final int
CXLinkage_UniqueExternal

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

public static final int
CXLoadDiag_CannotLoad

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

public static final int
CXLoadDiag_InvalidFile

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

public static final int
CXLoadDiag_None

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

public static final int
CXLoadDiag_Unknown

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

public static final int
CXNameRange_WantQualifier

enum CXNameRefFlags Enum values:

  • NameRange_WantQualifier - Include the nested-name-specifier, e.g. Foo:: in x.Foo::y, in the range.
  • NameRange_WantTemplateArgs - Include the explicit template arguments, e.g. <int> in x.f<int>, in the range.
  • NameRange_WantSinglePiece - If the name is non-contiguous, return the full spanning range.

    Non-contiguous names occur in Objective-C when a selector with two or more parameters is used, or in C++ when using an operator:

    
     [object doSomething:here withValue:there]; // Objective-C
     return some_vector[1]; // C++
public static final int
CXNameRange_WantSinglePiece

enum CXNameRefFlags Enum values:

  • NameRange_WantQualifier - Include the nested-name-specifier, e.g. Foo:: in x.Foo::y, in the range.
  • NameRange_WantTemplateArgs - Include the explicit template arguments, e.g. <int> in x.f<int>, in the range.
  • NameRange_WantSinglePiece - If the name is non-contiguous, return the full spanning range.

    Non-contiguous names occur in Objective-C when a selector with two or more parameters is used, or in C++ when using an operator:

    
     [object doSomething:here withValue:there]; // Objective-C
     return some_vector[1]; // C++
public static final int
CXNameRange_WantTemplateArgs

enum CXNameRefFlags Enum values:

  • NameRange_WantQualifier - Include the nested-name-specifier, e.g. Foo:: in x.Foo::y, in the range.
  • NameRange_WantTemplateArgs - Include the explicit template arguments, e.g. <int> in x.f<int>, in the range.
  • NameRange_WantSinglePiece - If the name is non-contiguous, return the full spanning range.

    Non-contiguous names occur in Objective-C when a selector with two or more parameters is used, or in C++ when using an operator:

    
     [object doSomething:here withValue:there]; // Objective-C
     return some_vector[1]; // C++
public static final int
CXObjCDeclQualifier_Bycopy

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

public static final int
CXObjCDeclQualifier_Byref

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

public static final int
CXObjCDeclQualifier_In

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

public static final int
CXObjCDeclQualifier_Inout

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

public static final int
CXObjCDeclQualifier_None

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

public static final int
CXObjCDeclQualifier_Oneway

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

public static final int
CXObjCDeclQualifier_Out

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

public static final int
CXObjCPropertyAttr_assign

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_atomic

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_class

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_copy

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_getter

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_noattr

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_nonatomic

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_readonly

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_readwrite

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_retain

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_setter

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_strong

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_unsafe_unretained

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXObjCPropertyAttr_weak

Property attributes for a CXCursor_ObjCPropertyDecl.

public static final int
CXPrintingPolicy_Alignof

Properties for the printing policy.

public static final int
CXPrintingPolicy_AnonymousTagLocations

Properties for the printing policy.

public static final int
CXPrintingPolicy_Bool

Properties for the printing policy.

public static final int
CXPrintingPolicy_ConstantArraySizeAsWritten

Properties for the printing policy.

public static final int
CXPrintingPolicy_ConstantsAsWritten

Properties for the printing policy.

public static final int
CXPrintingPolicy_FullyQualifiedName

Properties for the printing policy.

public static final int
CXPrintingPolicy_Half

Properties for the printing policy.

public static final int
CXPrintingPolicy_IncludeNewlines

Properties for the printing policy.

public static final int
CXPrintingPolicy_IncludeTagDefinition

Properties for the printing policy.

public static final int
CXPrintingPolicy_Indentation

Properties for the printing policy.

public static final int
CXPrintingPolicy_LastProperty

Properties for the printing policy.

public static final int
CXPrintingPolicy_MSVCFormatting

Properties for the printing policy.

public static final int
CXPrintingPolicy_MSWChar

Properties for the printing policy.

public static final int
CXPrintingPolicy_PolishForDeclaration

Properties for the printing policy.

public static final int
CXPrintingPolicy_Restrict

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressImplicitBase

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressInitializers

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressLifetimeQualifiers

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressScope

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressSpecifiers

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressStrongLifetime

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressTagKeyword

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors

Properties for the printing policy.

public static final int
CXPrintingPolicy_SuppressUnwrittenScope

Properties for the printing policy.

public static final int
CXPrintingPolicy_TerseOutput

Properties for the printing policy.

public static final int
CXPrintingPolicy_UnderscoreAlignof

Properties for the printing policy.

public static final int
CXPrintingPolicy_UseVoidForZeroParams

Properties for the printing policy.

public static final int
CXRefQualifier_LValue

enum CXRefQualifierKind Enum values:

public static final int
CXRefQualifier_None

enum CXRefQualifierKind Enum values:

public static final int
CXRefQualifier_RValue

enum CXRefQualifierKind Enum values:

public static final int
CXReparse_None

Flags that control the reparsing of translation units.

public static final int
CXResult_Invalid

CXResult Enum values:

public static final int
CXResult_Success

CXResult Enum values:

public static final int
CXResult_VisitBreak

CXResult Enum values:

public static final int
CXSaveError_InvalidTU

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

public static final int
CXSaveError_None

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

public static final int
CXSaveError_TranslationErrors

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

public static final int
CXSaveError_Unknown

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

public static final int
CXSaveTranslationUnit_None

Flags that control how translation units are saved.

public static final int
CXSymbolRole_AddressOf

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Call

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Declaration

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Definition

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Dynamic

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Implicit

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_None

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Read

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Reference

Roles that are attributed to symbol occurrences.

public static final int
CXSymbolRole_Write

Roles that are attributed to symbol occurrences.

public static final int
CXTemplateArgumentKind_Declaration

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Expression

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Integral

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Invalid

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Null

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_NullPtr

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Pack

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Template

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_TemplateExpansion

Describes the kind of a template argument.

public static final int
CXTemplateArgumentKind_Type

Describes the kind of a template argument.

public static final int
CXTLS_Dynamic

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

public static final int
CXTLS_None

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

public static final int
CXTLS_Static

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

public static final int
CXToken_Comment

Describes a kind of token.

public static final int
CXToken_Identifier

Describes a kind of token.

public static final int
CXToken_Keyword

Describes a kind of token.

public static final int
CXToken_Literal

Describes a kind of token.

public static final int
CXToken_Punctuation

Describes a kind of token.

public static final int
CXTranslationUnit_CacheCompletionResults

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_CreatePreambleOnFirstParse

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_CXXChainedPCH

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_DetailedPreprocessingRecord

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_ForSerialization

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_IncludeAttributedTypes

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_IncludeBriefCommentsInCodeCompletion

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_Incomplete

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_KeepGoing

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_LimitSkipFunctionBodiesToPreamble

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_None

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_PrecompiledPreamble

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_RetainExcludedConditionalBlocks

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_SingleFileParse

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_SkipFunctionBodies

Flags that control the creation of translation units.

public static final int
CXTranslationUnit_VisitImplicitAttributes

Flags that control the creation of translation units.

public static final int
CXTUResourceUsage_AST

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_AST_SideTables

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_ExternalASTSource_Membuffer_Malloc

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_ExternalASTSource_Membuffer_MMap

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_First

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_GlobalCompletionResults

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_Identifiers

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_Last

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_MEMORY_IN_BYTES_BEGIN

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_MEMORY_IN_BYTES_END

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_PreprocessingRecord

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_Preprocessor

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_Preprocessor_HeaderSearch

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_Selectors

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_SourceManager_DataStructures

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_SourceManager_Membuffer_Malloc

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_SourceManager_Membuffer_MMap

Categorizes how memory is being used by a translation unit.

public static final int
CXTUResourceUsage_SourceManagerContentCache

Categorizes how memory is being used by a translation unit.

public static final int
CXType_Accum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Atomic

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Attributed

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Auto

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_BFloat16

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_BlockPointer

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Bool

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_BTFTagAttributed

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Char16

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Char32

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Char_S

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Char_U

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Complex

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ConstantArray

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Dependent

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_DependentSizedArray

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Double

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Elaborated

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Enum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ExtVector

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_FirstBuiltin

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Float

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Float128

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Float16

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_FunctionNoProto

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_FunctionProto

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Half

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Ibm128

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_IncompleteArray

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Int

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Int128

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Invalid

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_LastBuiltin

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Long

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_LongAccum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_LongDouble

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_LongLong

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_LValueReference

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_MemberPointer

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_NullPtr

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCClass

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCId

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCInterface

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCObject

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCObjectPointer

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCSel

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ObjCTypeParam

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLEvent

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dArrayRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dArrayRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dArrayWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dBufferRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dBufferRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dBufferWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage1dWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayDepthRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayDepthRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayDepthWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayMSAADepthRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayMSAADepthRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayMSAADepthWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayMSAARO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayMSAARW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayMSAAWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dArrayWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dDepthRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dDepthRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dDepthWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dMSAADepthRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dMSAADepthRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dMSAADepthWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dMSAARO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dMSAARW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dMSAAWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage2dWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage3dRO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage3dRW

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLImage3dWO

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCImeDualRefStreamin

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCImePayload

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCImeResult

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCImeResultDualRefStreamout

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCImeResultSingleRefStreamout

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCImeSingleRefStreamin

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCMcePayload

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCMceResult

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCRefPayload

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCRefResult

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCSicPayload

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLIntelSubgroupAVCSicResult

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLQueue

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLReserveID

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_OCLSampler

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Overload

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Pipe

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Pointer

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Record

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_RValueReference

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_SChar

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Short

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ShortAccum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Typedef

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_UAccum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_UChar

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_UInt

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_UInt128

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ULong

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ULongAccum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_ULongLong

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Unexposed

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_UShort

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_UShortAccum

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_VariableArray

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Vector

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_Void

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXType_WChar

Describes the kind of type

(enum CXTypeKind) Enum values:

public static final int
CXTypeLayoutError_Dependent

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

public static final int
CXTypeLayoutError_Incomplete

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

public static final int
CXTypeLayoutError_Invalid

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

public static final int
CXTypeLayoutError_InvalidFieldName

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

public static final int
CXTypeLayoutError_NotConstantSize

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

public static final int
CXTypeLayoutError_Undeduced

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

public static final int
CXTypeNullability_Invalid

enum CXTypeNullabilityKind Enum values:

  • TypeNullability_NonNull - Values of this type can never be null.
  • TypeNullability_Nullable - Values of this type can be null.
  • TypeNullability_Unspecified - Whether values of this type can be null is (explicitly) unspecified. This captures a (fairly rare) case where we can't conclude anything about the nullability of the type even though it has been considered.
  • TypeNullability_Invalid - Nullability is not applicable to this type.
  • TypeNullability_NullableResult - Generally behaves like Nullable, except when used in a block parameter that was imported into a swift async method. There, swift will assume that the parameter can get null even if no error occurred. _Nullable parameters are assumed to only get null on error.
public static final int
CXTypeNullability_NonNull

enum CXTypeNullabilityKind Enum values:

  • TypeNullability_NonNull - Values of this type can never be null.
  • TypeNullability_Nullable - Values of this type can be null.
  • TypeNullability_Unspecified - Whether values of this type can be null is (explicitly) unspecified. This captures a (fairly rare) case where we can't conclude anything about the nullability of the type even though it has been considered.
  • TypeNullability_Invalid - Nullability is not applicable to this type.
  • TypeNullability_NullableResult - Generally behaves like Nullable, except when used in a block parameter that was imported into a swift async method. There, swift will assume that the parameter can get null even if no error occurred. _Nullable parameters are assumed to only get null on error.
public static final int
CXTypeNullability_Nullable

enum CXTypeNullabilityKind Enum values:

  • TypeNullability_NonNull - Values of this type can never be null.
  • TypeNullability_Nullable - Values of this type can be null.
  • TypeNullability_Unspecified - Whether values of this type can be null is (explicitly) unspecified. This captures a (fairly rare) case where we can't conclude anything about the nullability of the type even though it has been considered.
  • TypeNullability_Invalid - Nullability is not applicable to this type.
  • TypeNullability_NullableResult - Generally behaves like Nullable, except when used in a block parameter that was imported into a swift async method. There, swift will assume that the parameter can get null even if no error occurred. _Nullable parameters are assumed to only get null on error.
public static final int
CXTypeNullability_NullableResult

enum CXTypeNullabilityKind Enum values:

  • TypeNullability_NonNull - Values of this type can never be null.
  • TypeNullability_Nullable - Values of this type can be null.
  • TypeNullability_Unspecified - Whether values of this type can be null is (explicitly) unspecified. This captures a (fairly rare) case where we can't conclude anything about the nullability of the type even though it has been considered.
  • TypeNullability_Invalid - Nullability is not applicable to this type.
  • TypeNullability_NullableResult - Generally behaves like Nullable, except when used in a block parameter that was imported into a swift async method. There, swift will assume that the parameter can get null even if no error occurred. _Nullable parameters are assumed to only get null on error.
public static final int
CXTypeNullability_Unspecified

enum CXTypeNullabilityKind Enum values:

  • TypeNullability_NonNull - Values of this type can never be null.
  • TypeNullability_Nullable - Values of this type can be null.
  • TypeNullability_Unspecified - Whether values of this type can be null is (explicitly) unspecified. This captures a (fairly rare) case where we can't conclude anything about the nullability of the type even though it has been considered.
  • TypeNullability_Invalid - Nullability is not applicable to this type.
  • TypeNullability_NullableResult - Generally behaves like Nullable, except when used in a block parameter that was imported into a swift async method. There, swift will assume that the parameter can get null even if no error occurred. _Nullable parameters are assumed to only get null on error.
public static final int
CXVisibility_Default

enum CXVisibilityKind Enum values:

public static final int
CXVisibility_Hidden

enum CXVisibilityKind Enum values:

public static final int
CXVisibility_Invalid

enum CXVisibilityKind Enum values:

public static final int
CXVisibility_Protected

enum CXVisibilityKind Enum values:

public static final int
CXVisit_Break

enum CXVisitorResult Enum values:

public static final int
CXVisit_Continue

enum CXVisitorResult Enum values:

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
clang_annotateTokens(long
the translation unit that owns the given tokens
TU
,
CXToken.Buffer
the set of tokens to annotate
Tokens
,
CXCursor.Buffer
an array of NumTokens cursors, whose contents will be replaced with the cursors corresponding to each token
Cursors
)

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.

public static CXCodeCompleteResults

Returns:

if successful, a new CXCodeCompleteResults structure containing code-completion results, which should eventually be freed with disposeCodeCompleteResults. If code completion fails, returns NULL.
clang_codeCompleteAt
(long
the translation unit in which code-completion should occur. The source files for this translation unit need not be completely up-to-date (and the contents of those source files may be overridden via unsaved_files). Cursors referring into the translation unit may be invalidated by this invocation.
TU
,
ByteBuffer
the name of the source file where code completion should be performed. This filename may be any file included in the translation unit.
complete_filename
,
int
the line at which code-completion should occur
complete_line
,
int
the column at which code-completion should occur. Note that the column should point just after the syntactic construct that initiated code completion, and not in the middle of a lexical token.
complete_column
,
CXUnsavedFile.Buffer
the Files that have not yet been saved to disk but may be required for parsing or code completion, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
,
int
extra options that control the behavior of code completion, expressed as a bitwise OR of the enumerators of the CXCodeComplete_Flags enumeration. The defaultCodeCompleteOptions function returns a default set of code-completion options.
options
)

Perform code completion at a given location in a translation unit.

public static CXCodeCompleteResults

Returns:

if successful, a new CXCodeCompleteResults structure containing code-completion results, which should eventually be freed with disposeCodeCompleteResults. If code completion fails, returns NULL.
clang_codeCompleteAt
(long
the translation unit in which code-completion should occur. The source files for this translation unit need not be completely up-to-date (and the contents of those source files may be overridden via unsaved_files). Cursors referring into the translation unit may be invalidated by this invocation.
TU
,
CharSequence
the name of the source file where code completion should be performed. This filename may be any file included in the translation unit.
complete_filename
,
int
the line at which code-completion should occur
complete_line
,
int
the column at which code-completion should occur. Note that the column should point just after the syntactic construct that initiated code completion, and not in the middle of a lexical token.
complete_column
,
CXUnsavedFile.Buffer
the Files that have not yet been saved to disk but may be required for parsing or code completion, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
,
int
extra options that control the behavior of code completion, expressed as a bitwise OR of the enumerators of the CXCodeComplete_Flags enumeration. The defaultCodeCompleteOptions function returns a default set of code-completion options.
options
)

Perform code completion at a given location in a translation unit.

public static int

Returns:

the container kind, or Cursor_InvalidCode if there is not a container
clang_codeCompleteGetContainerKind
(CXCodeCompleteResults
the code completion results to query
Results
,
IntBuffer
on return, this value will be false if Clang has complete information about the container. If Clang does not have complete information, this value will be true.
IsIncomplete
)

Returns the cursor kind for the container for the current code completion context.

public static CXString
clang_codeCompleteGetContainerUSR(CXCodeCompleteResults
the code completion results to query
Results
,
CXString
the USR for the container
__result
)

Returns the USR for the container for the current code completion context.

public static long

Returns:

the kinds of completions that are appropriate for use along with the given code completion results
clang_codeCompleteGetContexts
(CXCodeCompleteResults
the code completion results to query
Results
)

Determines what completions are appropriate for the context the given code completion.

public static long

Returns:

the requested diagnostic. This diagnostic must be freed via a call to disposeDiagnostic.
clang_codeCompleteGetDiagnostic
(CXCodeCompleteResults
the code completion results to query
Results
,
int
the zero-based diagnostic number to retrieve
Index
)

Retrieve a diagnostic associated with the given code completion.

public static int
clang_codeCompleteGetNumDiagnostics(CXCodeCompleteResults Results)

Determine the number of diagnostics produced prior to the location where code completion was performed.

public static CXString
clang_codeCompleteGetObjCSelector(CXCodeCompleteResults
the code completion results to query
Results
,
CXString
the selector (or partial selector) that has been entered thus far for an Objective-C message send
__result
)

Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:".

public static CXString
clang_constructUSR_ObjCCategory(ByteBuffer class_name, ByteBuffer category_name, CXString __result)

Construct a USR for a specified Objective-C category.

public static CXString
clang_constructUSR_ObjCCategory(CharSequence class_name, CharSequence category_name, CXString __result)

Construct a USR for a specified Objective-C category.

public static CXString
clang_constructUSR_ObjCClass(ByteBuffer class_name, CXString __result)

Construct a USR for a specified Objective-C class.

public static CXString
clang_constructUSR_ObjCClass(CharSequence class_name, CXString __result)

Construct a USR for a specified Objective-C class.

public static CXString
clang_constructUSR_ObjCIvar(ByteBuffer name, CXString classUSR, CXString __result)

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

public static CXString
clang_constructUSR_ObjCIvar(CharSequence name, CXString classUSR, CXString __result)

Construct a USR for a specified Objective-C instance variable and the USR for its containing class.

public static CXString
clang_constructUSR_ObjCMethod(ByteBuffer name, boolean isInstanceMethod, CXString classUSR, CXString __result)

Construct a USR for a specified Objective-C method and the USR for its containing class.

public static CXString
clang_constructUSR_ObjCMethod(CharSequence name, boolean isInstanceMethod, CXString classUSR, CXString __result)

Construct a USR for a specified Objective-C method and the USR for its containing class.

public static CXString
clang_constructUSR_ObjCProperty(ByteBuffer property, CXString classUSR, CXString __result)

Construct a USR for a specified Objective-C property and the USR for its containing class.

public static CXString
clang_constructUSR_ObjCProperty(CharSequence property, CXString classUSR, CXString __result)

Construct a USR for a specified Objective-C property and the USR for its containing class.

public static CXString
clang_constructUSR_ObjCProtocol(ByteBuffer protocol_name, CXString __result)

Construct a USR for a specified Objective-C protocol.

public static CXString
clang_constructUSR_ObjCProtocol(CharSequence protocol_name, CXString __result)

Construct a USR for a specified Objective-C protocol.

public static long
clang_createCXCursorSet()

Creates an empty CXCursorSet.

public static long
clang_createIndex(boolean excludeDeclarationsFromPCH, boolean displayDiagnostics)

Provides a shared context for creating translation units.

public static long
clang_createTranslationUnit(long CIdx, ByteBuffer ast_filename)

Same as createTranslationUnit2, but returns the CXTranslationUnit instead of an error code.

public static long
clang_createTranslationUnit(long CIdx, CharSequence ast_filename)

Same as createTranslationUnit2, but returns the CXTranslationUnit instead of an error code.

public static int

Returns:

zero on success, otherwise returns an error code
clang_createTranslationUnit2
(long CIdx, ByteBuffer ast_filename, PointerBuffer
a non-NULL pointer to store the created CXTranslationUnit
out_TU
)

Create a translation unit from an AST file (-emit-ast).

public static int

Returns:

zero on success, otherwise returns an error code
clang_createTranslationUnit2
(long CIdx, CharSequence ast_filename, PointerBuffer
a non-NULL pointer to store the created CXTranslationUnit
out_TU
)

Create a translation unit from an AST file (-emit-ast).

public static long
clang_createTranslationUnitFromSourceFile(long
the index object with which the translation unit will be associated
CIdx
,
ByteBuffer
the name of the source file to load, or NULL if the source file is included in clang_command_line_args
source_filename
,
PointerBuffer
the command-line arguments that would be passed to the clang executable if it were being invoked out-of-process. These command-line options will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only' (which is the default), and '-o <output file>'.
clang_command_line_args
,
CXUnsavedFile.Buffer
the files that have not yet been saved to disk but may be required for code completion, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
)

Return the CXTranslationUnit for a given source file and the provided command line arguments one would pass to the compiler.

public static long
clang_createTranslationUnitFromSourceFile(long
the index object with which the translation unit will be associated
CIdx
,
CharSequence
the name of the source file to load, or NULL if the source file is included in clang_command_line_args
source_filename
,
PointerBuffer
the command-line arguments that would be passed to the clang executable if it were being invoked out-of-process. These command-line options will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only' (which is the default), and '-o <output file>'.
clang_command_line_args
,
CXUnsavedFile.Buffer
the files that have not yet been saved to disk but may be required for code completion, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
)

Return the CXTranslationUnit for a given source file and the provided command line arguments one would pass to the compiler.

public static long
clang_Cursor_Evaluate(CXCursor C)

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

public static CXCursor
clang_Cursor_getArgument(CXCursor C, int i, CXCursor __result)

Retrieve the argument cursor of a function or method.

public static CXString
clang_Cursor_getBriefCommentText(CXCursor C, CXString __result)

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

first paragraph.

public static CXSourceRange
clang_Cursor_getCommentRange(CXCursor C, CXSourceRange __result)

Given a cursor that represents a declaration, return the associated comment's source range.

public static CXStringSet
clang_Cursor_getCXXManglings(CXCursor cursor)

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

public static CXString
clang_Cursor_getMangling(CXCursor cursor, CXString __result)

Retrieve the CXString representing the mangled name of the cursor.

public static long
clang_Cursor_getModule(CXCursor C)

Given a Cursor_ModuleImportDecl cursor, return the associated module.

public static int
clang_Cursor_getNumArguments(CXCursor C)

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

public static int
clang_Cursor_getNumTemplateArguments(CXCursor C)

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

public static int
clang_Cursor_getObjCDeclQualifiers(CXCursor C)

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.

public static CXStringSet
clang_Cursor_getObjCManglings(CXCursor cursor)

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

public static int
clang_Cursor_getObjCPropertyAttributes(CXCursor C, int
reserved for future use, pass 0
reserved
)

Given a cursor that represents a property declaration, return the associated property attributes.

public static CXString
clang_Cursor_getObjCPropertyGetterName(CXCursor C, CXString __result)

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

public static CXString
clang_Cursor_getObjCPropertySetterName(CXCursor C, CXString __result)

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

public static int

Returns:

the selector index if the cursor is an Objective-C method or message expression and the cursor is pointing to a selector identifier, or -1 otherwise
clang_Cursor_getObjCSelectorIndex
(CXCursor cursor)

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

public static long
clang_Cursor_getOffsetOfField(CXCursor C)

Return the offset of the field represented by the Cursor.

public static CXString
clang_Cursor_getRawCommentText(CXCursor C, CXString __result)

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

public static CXType
clang_Cursor_getReceiverType(CXCursor C, CXType __result)

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

public static CXSourceRange
clang_Cursor_getSpellingNameRange(CXCursor cursor, int
the index of the spelling name piece. If this is greater than the actual number of pieces, it will return a NULL (invalid) range.
pieceIndex
,
int
reserved
options
,
CXSourceRange __result)

Retrieve a range for a piece that forms the cursors spelling name.

public static int
clang_Cursor_getStorageClass(CXCursor cursor)

Returns the storage class for a function or variable declaration.

public static int
clang_Cursor_getTemplateArgumentKind(CXCursor C, int I)

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

public static CXType
clang_Cursor_getTemplateArgumentType(CXCursor C, int I, CXType __result)

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

public static long
clang_Cursor_getTemplateArgumentUnsignedValue(CXCursor C, int I)

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

public static long
clang_Cursor_getTemplateArgumentValue(CXCursor C, int I)

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

public static long
clang_Cursor_getTranslationUnit(CXCursor cursor)

Returns the translation unit that a cursor originated from.

public static CXCursor
clang_Cursor_getVarDeclInitializer(CXCursor cursor, CXCursor __result)

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

public static boolean
clang_Cursor_hasAttrs(CXCursor C)

Determine whether the given cursor has any attributes.

public static int
clang_Cursor_hasVarDeclExternalStorage(CXCursor cursor)

If cursor refers to a variable declaration that has external storage returns 1.

public static int
clang_Cursor_hasVarDeclGlobalStorage(CXCursor cursor)

If cursor refers to a variable declaration that has global storage returns 1.

public static boolean
clang_Cursor_isAnonymous(CXCursor C)

Determine whether the given cursor represents an anonymous tag or namespace.

public static boolean
clang_Cursor_isAnonymousRecordDecl(CXCursor C)

Determine whether the given cursor represents an anonymous record declaration.

public static boolean
clang_Cursor_isBitField(CXCursor C)

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

public static boolean
clang_Cursor_isDynamicCall(CXCursor C)

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

For a C++ method: the call is virtual.

public static boolean
clang_Cursor_isExternalSymbol(CXCursor C, CXString.Buffer
if non-NULL, and the attribute is present, will be set to the 'language' string from the attribute
language
,
CXString.Buffer
if non-NULL, and the attribute is present, will be set to the 'definedIn' string from the attribute
definedIn
,
IntBuffer
if non-NULL, and the attribute is present, will be set to non-zero if the 'generated_declaration' is set in the attribute
isGenerated
)

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

public static boolean
clang_Cursor_isFunctionInlined(CXCursor C)

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

public static boolean
clang_Cursor_isInlineNamespace(CXCursor C)

Determine whether the given cursor represents an inline namespace declaration.

public static boolean
clang_Cursor_isMacroBuiltin(CXCursor C)

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

public static boolean
clang_Cursor_isMacroFunctionLike(CXCursor C)

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

public static boolean
clang_Cursor_isNull(CXCursor cursor)

Returns non-zero if cursor is null.

public static boolean
clang_Cursor_isObjCOptional(CXCursor C)

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

public static boolean
clang_Cursor_isVariadic(CXCursor C)

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

public static boolean

Returns:

non-zero if the set contains the specified cursor
clang_CXCursorSet_contains
(long cset, CXCursor cursor)

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

public static boolean

Returns:

zero if the CXCursor was already in the set, and non-zero otherwise
clang_CXCursorSet_insert
(long cset, CXCursor cursor)

Inserts a CXCursor into a CXCursorSet.

public static int

Returns:

a bitmask of options, a bitwise OR of CXGlobalOpt_XXX flags that are associated with the given CXIndex object
clang_CXIndex_getGlobalOptions
(long index)

Gets the general options associated with a CXIndex.

public static void
clang_CXIndex_setGlobalOptions(long index, int
a bitmask of options, a bitwise OR of CXGlobalOpt_XXX flags
options
)

Sets general options associated with a CXIndex.

public static void
clang_CXIndex_setInvocationEmissionPathOption(long index, ByteBuffer Path)

Sets the invocation emission path option in a CXIndex.

public static void
clang_CXIndex_setInvocationEmissionPathOption(long index, CharSequence Path)

Sets the invocation emission path option in a CXIndex.

public static boolean
clang_CXXConstructor_isConvertingConstructor(CXCursor C)

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

public static boolean
clang_CXXConstructor_isCopyConstructor(CXCursor C)

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

public static boolean
clang_CXXConstructor_isDefaultConstructor(CXCursor C)

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

public static boolean
clang_CXXConstructor_isMoveConstructor(CXCursor C)

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

public static boolean
clang_CXXField_isMutable(CXCursor C)

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

public static boolean
clang_CXXMethod_isConst(CXCursor C)

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

public static boolean
clang_CXXMethod_isCopyAssignmentOperator(CXCursor C)

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

public static boolean
clang_CXXMethod_isDefaulted(CXCursor C)

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

public static boolean
clang_CXXMethod_isDeleted(CXCursor C)

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

public static boolean
clang_CXXMethod_isMoveAssignmentOperator(CXCursor C)

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

public static boolean
clang_CXXMethod_isPureVirtual(CXCursor C)

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

public static boolean
clang_CXXMethod_isStatic(CXCursor C)

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

public static boolean
clang_CXXMethod_isVirtual(CXCursor C)

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.

public static boolean
clang_CXXRecord_isAbstract(CXCursor C)

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

public static int
clang_defaultCodeCompleteOptions()

Returns a default set of code-completion options that can be passed to codeCompleteAt.

public static int

Returns:

a set of display options suitable for use with formatDiagnostic
clang_defaultDiagnosticDisplayOptions
()

Retrieve the set of display options most similar to the default behavior of the clang compiler.

public static int
clang_defaultEditingTranslationUnitOptions()

Returns the set of flags that is suitable for parsing a translation unit that is being edited.

public static int
clang_defaultReparseOptions(long TU)

Returns the set of flags that is suitable for reparsing a translation unit.

public static int
clang_defaultSaveOptions(long TU)

Returns the set of flags that is suitable for saving a translation unit.

public static void
clang_disposeCodeCompleteResults(CXCodeCompleteResults Results)

Free the given set of code-completion results.

public static void
clang_disposeCXCursorSet(long cset)

Disposes a CXCursorSet and releases its associated memory.

public static void
clang_disposeCXPlatformAvailability(CXPlatformAvailability availability)

Free the memory associated with a CXPlatformAvailability structure.

public static void
public static void
clang_disposeDiagnostic(long Diagnostic)

Destroy a diagnostic.

public static void
clang_disposeDiagnosticSet(long Diags)

Release a CXDiagnosticSet and all of its contained diagnostics.

public static void
clang_disposeIndex(long index)

Destroy the given index.

public static void
clang_disposeOverriddenCursors(CXCursor.Buffer overridden)

Free the set of overridden cursors returned by clang_getOverriddenCursors().

public static void
clang_disposeSourceRangeList(CXSourceRangeList ranges)

Destroy the given CXSourceRangeList.

public static void
clang_disposeString(CXString string)

Free the given string.

public static void
clang_disposeStringSet(CXStringSet set)

Free the given string set.

public static void
clang_disposeTokens(long TU, CXToken.Buffer Tokens)

Free the given set of tokens.

public static void
clang_disposeTranslationUnit(long TU)

Destroy the specified CXTranslationUnit object.

public static void
public static boolean
clang_EnumDecl_isScoped(CXCursor C)

Determine if an enum declaration refers to a scoped enum.

public static boolean
clang_equalCursors(CXCursor A, CXCursor B)

Determine whether two cursors are equivalent.

public static boolean

Returns:

non-zero if the source locations refer to the same location, zero if they refer to different locations
clang_equalLocations
(CXSourceLocation loc1, CXSourceLocation loc2)

Determine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code.

public static boolean

Returns:

non-zero if the ranges are the same, zero if they differ
clang_equalRanges
(CXSourceRange range1, CXSourceRange range2)

Determine whether two ranges are equivalent.

public static boolean

Returns:

non-zero if the CXTypes represent the same type and zero otherwise
clang_equalTypes
(CXType A, CXType B)

Determine whether two CXTypes represent the same type.

public static void
clang_EvalResult_dispose(long E)

Disposes the created Eval memory.

public static double
clang_EvalResult_getAsDouble(long E)

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

public static int
clang_EvalResult_getAsInt(long E)

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

public static long
clang_EvalResult_getAsLongLong(long E)

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

public static String
clang_EvalResult_getAsStr(long E)

Returns the evaluation result as a constant string if the kind is other than Int or float.

public static long
clang_EvalResult_getAsUnsigned(long E)

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

public static int
clang_EvalResult_getKind(long E)

Returns the kind of the evaluated result.

public static boolean
clang_EvalResult_isUnsignedInt(long E)

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

public static void
clang_executeOnThread(CXExecuteOnThreadI fn, long user_data, int stack_size)

public static boolean
clang_File_isEqual(long file1, long file2)

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

public static CXString
clang_File_tryGetRealPathName(long file, CXString __result)

Returns the real path name of file.

public static int

Returns:

one of the CXResult enumerators
clang_findIncludesInFile
(long
translation unit containing the file to query
TU
,
long
to search for #import/#include directives
file
,
CXCursorAndRangeVisitor
callback that will receive pairs of CXCursor/CXSourceRange for each directive found
visitor
)

Find #import/#include directives in a specific file.

public static int

Returns:

one of the CXResult enumerators
clang_findReferencesInFile
(CXCursor
pointing to a declaration or a reference of one
cursor
,
long
to search for references
file
,
CXCursorAndRangeVisitor
callback that will receive pairs of CXCursor/CXSourceRange for each reference found. The CXSourceRange will point inside the file; if the reference is inside a macro (and not a macro argument) the CXSourceRange will be invalid.
visitor
)

Find references of a declaration in a specific file.

public static CXString
clang_formatDiagnostic(long
the diagnostic to print
Diagnostic
,
int
a set of options that control the diagnostic display, created by combining CXDiagnosticDisplayOptions values
Options
,
CXString
a new string containing for formatted diagnostic
__result
)

Format the given diagnostic in a manner that is suitable for display.

public static int
clang_getAddressSpace(CXType T)

Returns the address space of the given type.

public static CXSourceRangeList
clang_getAllSkippedRanges(long tu)

Retrieve all ranges from all files that were skipped by the preprocessor.

public static CXType
clang_getArgType(CXType T, int i, CXType __result)

Retrieve the type of a parameter of a function type.

public static CXType
clang_getArrayElementType(CXType T, CXType __result)

Return the element type of an array type.

public static long
clang_getArraySize(CXType T)

Return the array size of a constant array.

public static CXCursor
clang_getCanonicalCursor(CXCursor cursor, CXCursor
the canonical cursor for the entity referred to by the given cursor
__result
)

Retrieve the canonical cursor corresponding to the given cursor.

public static CXType
clang_getCanonicalType(CXType T, CXType __result)

Return the canonical type for a CXType.

public static long
clang_getChildDiagnostics(long D)

Retrieve the child diagnostics of a CXDiagnostic.

public static CXString
clang_getClangVersion(CXString __result)

Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable).

public static CXString
clang_getCompletionAnnotation(long
the completion string to query
completion_string
,
int
the 0-based index of the annotation of the completion string
annotation_number
,
CXString
annotation string associated with the completion at index annotation_number, or a NULL string if that annotation is not available
__result
)

Retrieve the annotation associated with the given completion string.

public static int

Returns:

the availability of the completion string
clang_getCompletionAvailability
(long
the completion string to query
completion_string
)

Determine the availability of the entity that this code-completion string refers to.

public static CXString
clang_getCompletionBriefComment(long completion_string, CXString __result)

Retrieve the brief documentation comment attached to the declaration that corresponds to the given completion string.

public static long

Returns:

the completion string associated with the chunk at index chunk_number
clang_getCompletionChunkCompletionString
(long
the completion string to query
completion_string
,
int
the 0-based index of the chunk in the completion string
chunk_number
)

Retrieve the completion string associated with a particular chunk within a completion string.

public static int

Returns:

the kind of the chunk at the index chunk_number
clang_getCompletionChunkKind
(long
the completion string to query
completion_string
,
int
the 0-based index of the chunk in the completion string
chunk_number
)

Determine the kind of a particular chunk within a completion string.

public static CXString
clang_getCompletionChunkText(long
the completion string to query
completion_string
,
int
the 0-based index of the chunk in the completion string
chunk_number
,
CXString
the text associated with the chunk at index chunk_number
__result
)

Retrieve the text associated with a particular chunk within a completion string.

public static CXString
clang_getCompletionFixIt(CXCodeCompleteResults
the structure keeping all completion results
results
,
int
the index of the completion
completion_index
,
int
the index of the fix-it for the completion at completion_index
fixit_index
,
CXSourceRange
the fix-it range that must be replaced before the completion at completion_index can be applied
replacement_range
,
CXString
the fix-it string that must replace the code at replacement_range before the completion at completion_index can be applied
__result
)

Fix-its that must be applied before inserting the text for the corresponding completion.

public static int

Returns:

the number of annotations associated with the given completion string
clang_getCompletionNumAnnotations
(long
the completion string to query
completion_string
)

Retrieve the number of annotations associated with the given completion string.

public static int

Returns:

the number of fix-its which must be applied before the completion at completion_index can be applied
clang_getCompletionNumFixIts
(CXCodeCompleteResults
the structure keeping all completion results
results
,
int
the index of the completion
completion_index
)

Retrieve the number of fix-its for the given completion index.

public static CXString
clang_getCompletionParent(long
the code completion string whose parent is being queried
completion_string
,
IntBuffer
DEPRECATED: always set to Cursor_NotImplemented if non-NULL
kind
,
CXString
the name of the completion parent, e.g., "NSObject" if the completion string represents a method in the NSObject class.
__result
)

Retrieve the parent context of the given completion string.

public static int

Returns:

the priority of this completion string. Smaller values indicate higher-priority (more likely) completions.
clang_getCompletionPriority
(long
the completion string to query
completion_string
)

Determine the priority of this code completion.

public static String
clang_getCString(CXString string)

Retrieve the character data associated with the given string.

public static CXCursor
clang_getCursor(long TU, CXSourceLocation location, CXCursor
a cursor representing the entity at the given source location, or a NULL cursor if no such entity can be found
__result
)

Map a source location to the cursor that describes the entity at that location in the source code.

public static int

Returns:

the availability of the cursor
clang_getCursorAvailability
(CXCursor
the cursor to query
cursor
)

Determine the availability of the entity that this cursor refers to, taking the current target platform into account.

public static long

Returns:

a non-context-sensitive completion string for declaration and macro definition cursors, or NULL for other kinds of cursors
clang_getCursorCompletionString
(CXCursor
the cursor to query
cursor
)

Retrieve a completion string for an arbitrary declaration or macro definition cursor.

public static CXCursor
clang_getCursorDefinition(CXCursor cursor, CXCursor __result)

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.

public static CXString
clang_getCursorDisplayName(CXCursor cursor, CXString __result)

Retrieve the display name for the entity referenced by this cursor.

public static int
clang_getCursorExceptionSpecificationType(CXCursor C)

Retrieve the exception specification type associated with a given cursor.

public static CXSourceRange
clang_getCursorExtent(CXCursor cursor, CXSourceRange __result)

Retrieve the physical extent of the source construct referenced by the given cursor.

public static int
clang_getCursorKind(CXCursor cursor)

Retrieve the kind of the given cursor.

public static CXString
public static int
clang_getCursorLanguage(CXCursor cursor)

Determine the "language" of the entity referred to by a given cursor.

public static CXCursor
clang_getCursorLexicalParent(CXCursor cursor, CXCursor __result)

Determine the lexical parent of the given cursor.

public static int
clang_getCursorLinkage(CXCursor cursor)

Determine the linkage of the entity referred to by a given cursor.

public static CXSourceLocation
clang_getCursorLocation(CXCursor cursor, CXSourceLocation __result)

Retrieve the physical location of the source constructor referenced by the given cursor.

public static int

Returns:

the number of platforms (N) for which availability information is available (which is unrelated to availability_size)
clang_getCursorPlatformAvailability
(CXCursor
the cursor to query
cursor
,
IntBuffer
if non-NULL, will be set to indicate whether the entity is deprecated on all platforms
always_deprecated
,
CXString
if non-NULL, will be set to the message text provided along with the unconditional deprecation of this entity. The client is responsible for deallocating this string.
deprecated_message
,
IntBuffer
if non-NULL, will be set to indicate whether the entity is unavailable on all platforms
always_unavailable
,
CXString
if non-NULL, will be set to the message text provided along with the unconditional unavailability of this entity. The client is responsible for deallocating this string.
unavailable_message
,
CXPlatformAvailability.Buffer
if non-NULL, an array of CXPlatformAvailability instances that will be populated with platform availability information, up to either the number of platforms for which availability information is available (as returned by this function) or availability_size, whichever is smaller
availability
)

Determine the availability of the entity that this cursor refers to on any platforms for which availability information is known.

public static CXString
clang_getCursorPrettyPrinted(CXCursor
the cursor representing a declaration
Cursor
,
long
the policy to control the entities being printed. If NULL, a default policy is used.
Policy
,
CXString
the pretty printed declaration or the empty string for other cursors
__result
)

Pretty print declarations.

public static long
clang_getCursorPrintingPolicy(CXCursor cursor)

Retrieve the default policy for the cursor.

public static CXCursor
clang_getCursorReferenced(CXCursor cursor, CXCursor __result)

For a cursor that is a reference, retrieve a cursor representing the entity that it references.

public static CXSourceRange
clang_getCursorReferenceNameRange(CXCursor
a cursor pointing to a member reference, a declaration reference, or an operator call
C
,
int NameFlags, int
for contiguous names or when passing the flag NameRange_WantSinglePiece, only one piece with index 0 is available. When the NameRange_WantSinglePiece flag is not passed for a non-contiguous names, this index can be used to retrieve the individual pieces of the name. See also NameRange_WantSinglePiece.
PieceIndex
,
CXSourceRange
the piece of the name pointed to by the given cursor. If there is no name, or if the PieceIndex is out-of-range, a null-cursor will be returned.
__result
)

Given a cursor that references something else, return the source range covering that reference.

public static CXType
clang_getCursorResultType(CXCursor C, CXType __result)

Retrieve the return type associated with a given cursor.

public static CXCursor
clang_getCursorSemanticParent(CXCursor cursor, CXCursor __result)

Determine the semantic parent of the given cursor.

public static CXString
clang_getCursorSpelling(CXCursor cursor, CXString __result)

Retrieve a name for the entity referenced by this cursor.

public static int
clang_getCursorTLSKind(CXCursor cursor)

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

public static CXType
clang_getCursorType(CXCursor C, CXType __result)

Retrieve the type of a CXCursor (if any).

public static CXString
clang_getCursorUSR(CXCursor cursor, CXString __result)

Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor.

public static int

Returns:

the visibility of the cursor
clang_getCursorVisibility
(CXCursor
the cursor to query
cursor
)

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

public static CXTUResourceUsage
clang_getCXTUResourceUsage(long TU, CXTUResourceUsage __result)

Return the memory usage of a translation unit.

public static int
clang_getCXXAccessSpecifier(CXCursor cursor)

Returns the access control level for the referenced object.

public static CXString
clang_getDeclObjCTypeEncoding(CXCursor C, CXString __result)

Returns the Objective-C type encoding for the specified declaration.

public static void
clang_getDefinitionSpellingAndExtent(CXCursor cursor, PointerBuffer startBuf, PointerBuffer endBuf, IntBuffer startLine, IntBuffer startColumn, IntBuffer endLine, IntBuffer endColumn)

public static long

Returns:

the requested diagnostic. This diagnostic must be freed via a call to disposeDiagnostic.
clang_getDiagnostic
(long
the translation unit to query
Unit
,
int
the zero-based diagnostic number to retrieve
Index
)

Retrieve a diagnostic associated with the given translation unit.

public static int

Returns:

the number of the category that contains this diagnostic, or zero if this diagnostic is uncategorized
clang_getDiagnosticCategory
(long Diagnostic)

Retrieve the category number for this diagnostic.

public static CXString
clang_getDiagnosticCategoryText(long Diagnostic, CXString
the text of the given diagnostic category
__result
)

Retrieve the diagnostic category text for a given diagnostic.

public static CXString
clang_getDiagnosticFixIt(long
the diagnostic whose fix-its are being queried
Diagnostic
,
int
the zero-based index of the fix-it
FixIt
,
CXSourceRange
the source range whose contents will be replaced with the returned replacement string. Note that source ranges are half-open ranges [a, b), so the source code should be replaced from a and up to (but not including) b.
ReplacementRange
,
CXString
a string containing text that should be replace the source code indicated by the ReplacementRange
__result
)

Retrieve the replacement information for a given fix-it.

public static long

Returns:

the requested diagnostic. This diagnostic must be freed via a call to disposeDiagnostic.
clang_getDiagnosticInSet
(long
the CXDiagnosticSet to query
Diags
,
int
the zero-based diagnostic number to retrieve
Index
)

Retrieve a diagnostic associated with the given CXDiagnosticSet.

public static CXSourceLocation
clang_getDiagnosticLocation(long Diagnostic, CXSourceLocation __result)

Retrieve the source location of the given diagnostic.

public static int
clang_getDiagnosticNumFixIts(long Diagnostic)

Determine the number of fix-it hints associated with the given diagnostic.

public static int
clang_getDiagnosticNumRanges(long Diagnostic)

Determine the number of source ranges associated with the given diagnostic.

public static CXString
clang_getDiagnosticOption(long
the diagnostic to be queried
Diag
,
CXString
if non-NULL, will be set to the option that disables this diagnostic (if any)
Disable
,
CXString
a string that contains the command-line option used to enable this warning, such as "-Wconversion" or "-pedantic"
__result
)

Retrieve the name of the command-line option that enabled this diagnostic.

public static CXSourceRange
clang_getDiagnosticRange(long
the diagnostic whose range is being extracted
Diagnostic
,
int
the zero-based index specifying which range to
Range
,
CXSourceRange
the requested source range
__result
)

Retrieve a source range associated with the diagnostic.

public static long
clang_getDiagnosticSetFromTU(long
the translation unit to query
Unit
)

Retrieve the complete set of diagnostics associated with a translation unit.

public static int
clang_getDiagnosticSeverity(long Diagnostic)

Determine the severity of the given diagnostic.

public static CXString
clang_getDiagnosticSpelling(long Diagnostic, CXString __result)

Retrieve the text of the given diagnostic.

public static CXType
clang_getElementType(CXType T, CXType __result)

Return the element type of an array, complex, or vector type.

public static long
clang_getEnumConstantDeclUnsignedValue(CXCursor C)

Retrieve the integer value of an enum constant declaration as an unsigned long long.

public static long
clang_getEnumConstantDeclValue(CXCursor C)

Retrieve the integer value of an enum constant declaration as a signed long long.

public static CXType
clang_getEnumDeclIntegerType(CXCursor C, CXType __result)

Retrieve the integer type of an enum declaration.

public static int
clang_getExceptionSpecificationType(CXType T)

Retrieve the exception specification type associated with a function type.

public static void
clang_getExpansionLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts
location
,
PointerBuffer
[out] if non-NULL, will be set to the file to which the given source location points
file
,
IntBuffer
[out] if non-NULL, will be set to the line to which the given source location points
line
,
IntBuffer
[out] if non-NULL, will be set to the column to which the given source location points
column
,
IntBuffer
[out] if non-NULL, will be set to the offset into the buffer to which the given source location points
offset
)

Retrieve the file, line, column, and offset represented by the given source location.

public static int
clang_getFieldDeclBitWidth(CXCursor C)

Retrieve the bit width of a bit field declaration as an integer.

public static long

Returns:

the file handle for the named file in the translation unit tu, or a NULL file handle if the file was not a part of this translation unit
clang_getFile
(long
the translation unit
tu
,
ByteBuffer
the name of the file
file_name
)

Retrieve a file handle within the given translation unit.

public static long

Returns:

the file handle for the named file in the translation unit tu, or a NULL file handle if the file was not a part of this translation unit
clang_getFile
(long
the translation unit
tu
,
CharSequence
the name of the file
file_name
)

Retrieve a file handle within the given translation unit.

public static ByteBuffer

Returns:

a pointer to the buffer in memory that holds the contents of file, or a NULL pointer when the file is not loaded
clang_getFileContents
(long
the translation unit
tu
,
long
the file for which to retrieve the buffer
file
)

Retrieve the buffer associated with the given file.

public static void
clang_getFileLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts
location
,
PointerBuffer
[out] if non-NULL, will be set to the file to which the given source location points
file
,
IntBuffer
[out] if non-NULL, will be set to the line to which the given source location points
line
,
IntBuffer
[out] if non-NULL, will be set to the column to which the given source location points
column
,
IntBuffer
[out] if non-NULL, will be set to the offset into the buffer to which the given source location points
offset
)

Retrieve the file, line, column, and offset represented by the given source location.

public static CXString
clang_getFileName(long SFile, CXString __result)

Retrieve the complete file and path name of the given file.

public static long
clang_getFileTime(long SFile)

Retrieve the last modification time of the given file.

public static int

Returns:

if there was a failure getting the unique ID, returns non-zero, otherwise returns 0
clang_getFileUniqueID
(long
the file to get the ID for
file
,
CXFileUniqueID
stores the returned CXFileUniqueID
outID
)

Retrieve the unique ID for the given file.

public static int
clang_getFunctionTypeCallingConv(CXType T)

Retrieve the calling convention associated with a function type.

public static CXType
clang_getIBOutletCollectionType(CXCursor cursor, CXType __result)

For cursors representing an iboutletcollection attribute, this function returns the collection element type.

public static long
clang_getIncludedFile(CXCursor cursor)

Retrieve the file that is included by the given inclusion directive cursor.

public static void
clang_getInclusions(long tu, CXInclusionVisitorI visitor, long client_data)

Visit the set of preprocessor inclusions in a translation unit.

public static CXSourceLocation
clang_getLocation(long tu, long file, int line, int column, CXSourceLocation __result)

Retrieves the source location associated with a given file/line/column in a particular translation unit.

public static CXSourceLocation
clang_getLocationForOffset(long tu, long file, int offset, CXSourceLocation __result)

Retrieves the source location associated with a given character offset in a particular translation unit.

public static long
clang_getModuleForFile(long TU, long file)

Given a CXFile header file, return the module that contains it, if one exists.

public static CXType
clang_getNonReferenceType(CXType CT, CXType __result)

For reference types (e.g., "const int&"), returns the type that the reference refers to (e.g "const int").

public static CXCursor
clang_getNullCursor(CXCursor __result)

Retrieve the NULL cursor, which represents no entity.

public static CXSourceLocation
clang_getNullLocation(CXSourceLocation __result)

Retrieve a NULL (invalid) source location.

public static CXSourceRange
clang_getNullRange(CXSourceRange __result)

Retrieve a NULL (invalid) source range.

public static int
clang_getNumArgTypes(CXType T)

Retrieve the number of non-variadic parameters associated with a function type.

public static int
clang_getNumCompletionChunks(long completion_string)

Retrieve the number of chunks in the given code-completion string.

public static int
clang_getNumDiagnostics(long Unit)

Determine the number of diagnostics produced for the given translation unit.

public static int
clang_getNumDiagnosticsInSet(long Diags)

Determine the number of diagnostics in a CXDiagnosticSet.

public static long
clang_getNumElements(CXType T)

Return the number of elements of an array or vector type.

public static int

Returns:

the number of overloaded declarations referenced by cursor. If it is not a CXCursor_OverloadedDeclRef cursor, returns 0.
clang_getNumOverloadedDecls
(CXCursor
the cursor whose overloaded declarations are being queried
cursor
)

Determine the number of overloaded declarations referenced by a Cursor_OverloadedDeclRef cursor.

public static CXCursor
clang_getOverloadedDecl(CXCursor
the cursor whose overloaded declarations are being queried
cursor
,
int
the zero-based index into the set of overloaded declarations in the cursor
index
,
CXCursor
a cursor representing the declaration referenced by the given cursor at the specified index. If the cursor does not have an associated set of overloaded declarations, or if the index is out of bounds, returns getNullCursor;
__result
)

Retrieve a cursor for one of the overloaded declarations referenced by a Cursor_OverloadedDeclRef cursor.

public static void
clang_getOverriddenCursors(CXCursor
a cursor representing an Objective-C or C++ method. This routine will compute the set of methods that this method overrides.
cursor
,
PointerBuffer
a pointer whose pointee will be replaced with a pointer to an array of cursors, representing the set of overridden methods. If there are no overridden methods, the pointee will be set to NULL. The pointee must be freed via a call to disposeOverriddenCursors.
overridden
,
IntBuffer
a pointer to the number of overridden functions, will be set to the number of overridden functions in the array pointed to by overridden
num_overridden
)

Determine the set of methods that are overridden by the given method.

public static CXType
clang_getPointeeType(CXType T, CXType __result)

For pointer types, returns the type of the pointee.

public static void
clang_getPresumedLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts
location
,
CXString.Buffer
[out] if non-NULL, will be set to the filename of the source location. Note that filenames returned will be for "virtual" files, which don't necessarily exist on the machine running clang - e.g. when parsing preprocessed output obtained from a different environment. If a non-NULL value is passed in, remember to dispose of the returned value using clang_disposeString() once you've finished with it. For an invalid source location, an empty string is returned.
filename
,
IntBuffer
[out] if non-NULL, will be set to the line number of the source location. For an invalid source location, zero is returned.
line
,
IntBuffer
[out] if non-NULL, will be set to the column number of the source location. For an invalid source location, zero is returned.
column
)

Retrieve the file, line and column represented by the given source location, as specified in a # line directive.

public static CXSourceRange
clang_getRange(CXSourceLocation begin, CXSourceLocation end, CXSourceRange __result)

Retrieve a source range given the beginning and ending source locations.

public static CXSourceLocation
clang_getRangeEnd(CXSourceRange range, CXSourceLocation __result)

Retrieve a source location representing the last character within a source range.

public static CXSourceLocation
clang_getRangeStart(CXSourceRange range, CXSourceLocation __result)

Retrieve a source location representing the first character within a source range.

public static long

Returns:

the requested remapping. This remapping must be freed via a call to remap_dispose. Can return NULL if an error occurred.
clang_getRemappings
(ByteBuffer
the path that contains metadata about remappings
path
)

Retrieve a remapping.

public static long

Returns:

the requested remapping. This remapping must be freed via a call to remap_dispose. Can return NULL if an error occurred.
clang_getRemappings
(CharSequence
the path that contains metadata about remappings
path
)

Retrieve a remapping.

public static long

Returns:

the requested remapping. This remapping must be freed via a call to remap_dispose. Can return NULL if an error occurred.
clang_getRemappingsFromFileList
(PointerBuffer
pointer to an array of file paths containing remapping info
filePaths
)

Retrieve a remapping.

public static CXType
clang_getResultType(CXType T, CXType __result)

Retrieve the return type associated with a function type.

public static CXSourceRangeList
clang_getSkippedRanges(long tu, long file)

Retrieve all ranges that were skipped by the preprocessor.

public static CXCursor
clang_getSpecializedCursorTemplate(CXCursor
a cursor that may be a specialization of a template or a member of a template
C
,
CXCursor
if the given cursor is a specialization or instantiation of a template or a member thereof, the template or member that it specializes or from which it was instantiated. Otherwise, returns a NULL cursor.
__result
)

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.

public static void
clang_getSpellingLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts
location
,
PointerBuffer
[out] if non-NULL, will be set to the file to which the given source location points
file
,
IntBuffer
[out] if non-NULL, will be set to the line to which the given source location points
line
,
IntBuffer
[out] if non-NULL, will be set to the column to which the given source location points
column
,
IntBuffer
[out] if non-NULL, will be set to the offset into the buffer to which the given source location points
offset
)

Retrieve the file, line, column, and offset represented by the given source location.

public static int

Returns:

the cursor kind of the specializations that would be generated by instantiating the template C. If C is not a template, returns Cursor_NoDeclFound.
clang_getTemplateCursorKind
(CXCursor
the cursor to query. This cursor should represent a template declaration.
C
)

Given a cursor that represents a template, determine the cursor kind of the specializations would be generated by instantiating the template.

public static CXToken

Returns:

the token starting with the given location or NULL if no such token exist. The returned pointer must be freed with disposeTokens before the translation unit is destroyed.
clang_getToken
(long
the translation unit whose text is being tokenized
TU
,
CXSourceLocation
the source location with which the token starts
Location
)

Get the raw lexical token starting with the given location.

public static CXSourceRange
clang_getTokenExtent(long TU, CXToken token, CXSourceRange __result)

Retrieve a source range that covers the given token.

public static int
clang_getTokenKind(CXToken token)

Determine the kind of the given token.

public static CXSourceLocation
clang_getTokenLocation(long TU, CXToken token, CXSourceLocation __result)

Retrieve the source location of the given token.

public static CXString
clang_getTokenSpelling(long TU, CXToken token, CXString __result)

Determine the spelling of the given token.

public static CXCursor
clang_getTranslationUnitCursor(long TU, CXCursor __result)

Retrieve the cursor that represents the given translation unit.

public static CXString
clang_getTranslationUnitSpelling(long CTUnit, CXString __result)

Get the original translation unit source file name.

public static long
clang_getTranslationUnitTargetInfo(long CTUnit)

Get target information for this translation unit.

public static String
clang_getTUResourceUsageName(int kind)

Returns the human-readable null-terminated C string that represents the name of the memory category.

public static CXCursor
clang_getTypeDeclaration(CXType T, CXCursor __result)

Return the cursor for the declaration of the given type.

public static CXType
clang_getTypedefDeclUnderlyingType(CXCursor C, CXType __result)

Retrieve the underlying type of a typedef declaration.

public static CXString
clang_getTypedefName(CXType CT, CXString __result)

Returns the typedef name of the given type.

public static CXString
clang_getTypeKindSpelling(int K, CXString __result)

Retrieve the spelling of a given CXTypeKind.

public static CXString
clang_getTypeSpelling(CXType CT, CXString __result)

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

public static CXType
clang_getUnqualifiedType(CXType CT, CXType __result)

Retrieve the unqualified variant of the given type, removing as little sugar as possible.

public static int
clang_hashCursor(CXCursor cursor)

Compute a hash value for the given cursor.

public static long
clang_index_getClientContainer(CXIdxContainerInfo info)

For retrieving a custom CXIdxClientContainer attached to a container.

public static long
clang_index_getClientEntity(CXIdxEntityInfo info)

For retrieving a custom CXIdxClientEntity attached to an entity.

public static CXIdxCXXClassDeclInfo
public static CXIdxIBOutletCollectionAttrInfo
public static CXIdxObjCCategoryDeclInfo
public static CXIdxObjCContainerDeclInfo
public static CXIdxObjCInterfaceDeclInfo
public static CXIdxObjCPropertyDeclInfo
public static CXIdxObjCProtocolRefListInfo
public static boolean
public static void
clang_index_setClientContainer(CXIdxContainerInfo info, long container)

For setting a custom CXIdxClientContainer attached to a container.

public static void
clang_index_setClientEntity(CXIdxEntityInfo info, long entity)

For setting a custom CXIdxClientEntity attached to an entity.

public static long
clang_IndexAction_create(long
the index object with which the index action will be associated
CIdx
)

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

public static void
clang_IndexAction_dispose(long action)

Destroy the given index action.

public static CXSourceLocation
clang_indexLoc_getCXSourceLocation(CXIdxLoc loc, CXSourceLocation __result)

Retrieve the CXSourceLocation represented by the given CXIdxLoc.

public static void
clang_indexLoc_getFileLocation(CXIdxLoc loc, PointerBuffer indexFile, PointerBuffer file, IntBuffer line, IntBuffer column, IntBuffer offset)

Retrieve the CXIdxFile, file, line, column, and offset represented by the given CXIdxLoc.

public static int

Returns:

0 on success or if there were errors from which the compiler could recover. If there is a failure from which there is no recovery, returns a non-zero CXErrorCode.
clang_indexSourceFile
(long action, long
pointer data supplied by the client, which will be passed to the invoked callbacks
client_data
,
IndexerCallbacks
pointer to indexing callbacks that the client implements
index_callbacks
,
int
size of IndexerCallbacks structure that gets passed in index_callbacks
index_callbacks_size
,
int
a bitmask of options that affects how indexing is performed. This should be a bitwise OR of the CXIndexOpt_XXX flags.
index_options
,
ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, PointerBuffer
pointer to store a CXTranslationUnit that can be reused after indexing is finished. Set to NULL if you do not require it.
out_TU
,
int TU_options)

Index the given source file and the translation unit corresponding to that file via callbacks implemented through IndexerCallbacks.

public static int

Returns:

0 on success or if there were errors from which the compiler could recover. If there is a failure from which there is no recovery, returns a non-zero CXErrorCode.
clang_indexSourceFile
(long action, long
pointer data supplied by the client, which will be passed to the invoked callbacks
client_data
,
IndexerCallbacks
pointer to indexing callbacks that the client implements
index_callbacks
,
int
size of IndexerCallbacks structure that gets passed in index_callbacks
index_callbacks_size
,
int
a bitmask of options that affects how indexing is performed. This should be a bitwise OR of the CXIndexOpt_XXX flags.
index_options
,
CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, PointerBuffer
pointer to store a CXTranslationUnit that can be reused after indexing is finished. Set to NULL if you do not require it.
out_TU
,
int TU_options)

Index the given source file and the translation unit corresponding to that file via callbacks implemented through IndexerCallbacks.

public static int
clang_indexSourceFileFullArgv(long action, long client_data, IndexerCallbacks index_callbacks, int index_callbacks_size, int index_options, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, PointerBuffer out_TU, int TU_options)

Same as indexSourceFile but requires a full command line for command_line_args including argv[0].

public static int
clang_indexSourceFileFullArgv(long action, long client_data, IndexerCallbacks index_callbacks, int index_callbacks_size, int index_options, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, PointerBuffer out_TU, int TU_options)

Same as indexSourceFile but requires a full command line for command_line_args including argv[0].

public static boolean

Returns:

if there is a failure from which there is no recovery, returns non-zero, otherwise returns 0
clang_indexTranslationUnit
(long action, long client_data, IndexerCallbacks index_callbacks, int index_callbacks_size, int index_options, long TU)

Index the given translation unit via callbacks implemented through IndexerCallbacks.

public static boolean
clang_isAttribute(int kind)

Determine whether the given cursor kind represents an attribute.

public static boolean
clang_isConstQualifiedType(CXType T)

Determine whether a CXType has the "const" qualifier set, without looking through typedefs that may have added "const" at a different level.

public static boolean
clang_isCursorDefinition(CXCursor cursor)

Determine whether the declaration pointed to by this cursor is also a definition of that entity.

public static boolean
clang_isDeclaration(int kind)

Determine whether the given cursor kind represents a declaration.

public static boolean
clang_isExpression(int kind)

Determine whether the given cursor kind represents an expression.

public static boolean
clang_isFileMultipleIncludeGuarded(long tu, long file)

Determine whether the given header is guarded against multiple inclusions, either with the conventional #ifndef/#define/#endif macro guards or with #pragma once.

public static boolean
clang_isFunctionTypeVariadic(CXType T)

Return 1 if the CXType is a variadic function type, and 0 otherwise.

public static boolean
clang_isInvalid(int kind)

Determine whether the given cursor kind represents an invalid cursor.

public static boolean

Returns:

non-zero if the cursor represents a declaration and it is invalid, otherwise NULL
clang_isInvalidDeclaration
(CXCursor cursor)

Determine whether the given declaration is invalid.

public static boolean
clang_isPODType(CXType T)

Return 1 if the CXType is a POD (plain old data) type, and 0 otherwise.

public static boolean
clang_isPreprocessing(int kind)

Determine whether the given cursor represents a preprocessing element, such as a preprocessor directive or macro instantiation.

public static boolean
clang_isReference(int kind)

Determine whether the given cursor kind represents a simple reference.

public static boolean
clang_isRestrictQualifiedType(CXType T)

Determine whether a CXType has the "restrict" qualifier set, without looking through typedefs that may have added "restrict" at a different level.

public static boolean
clang_isStatement(int kind)

Determine whether the given cursor kind represents a statement.

public static boolean
clang_isTranslationUnit(int kind)

Determine whether the given cursor kind represents a translation unit.

public static boolean
clang_isUnexposed(int kind)

Determine whether the given cursor represents a currently unexposed piece of the AST (e.g., CXCursor_UnexposedStmt).

public static boolean
clang_isVirtualBase(CXCursor cursor)

Returns 1 if the base class specified by the cursor with kind Cursor_CXXBaseSpecifier is virtual.

public static boolean
clang_isVolatileQualifiedType(CXType T)

Determine whether a CXType has the "volatile" qualifier set, without looking through typedefs that may have added "volatile" at a different level.

public static long

Returns:

a loaded CXDiagnosticSet if successful, and NULL otherwise. These diagnostics should be released using disposeDiagnosticSet.
clang_loadDiagnostics
(ByteBuffer
the name of the file to deserialize
file
,
IntBuffer
a pointer to a enum value recording if there was a problem deserializing the diagnostics
error
,
CXString
a pointer to a CXString for recording the error string if the file was not successfully loaded
errorString
)

Deserialize a set of diagnostics from a Clang diagnostics bitcode file.

public static long

Returns:

a loaded CXDiagnosticSet if successful, and NULL otherwise. These diagnostics should be released using disposeDiagnosticSet.
clang_loadDiagnostics
(CharSequence
the name of the file to deserialize
file
,
IntBuffer
a pointer to a enum value recording if there was a problem deserializing the diagnostics
error
,
CXString
a pointer to a CXString for recording the error string if the file was not successfully loaded
errorString
)

Deserialize a set of diagnostics from a Clang diagnostics bitcode file.

public static boolean
clang_Location_isFromMainFile(CXSourceLocation location)

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

public static boolean
clang_Location_isInSystemHeader(CXSourceLocation location)

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

public static long

Returns:

the module file where the provided module object came from
clang_Module_getASTFile
(long
a module object
Module
)

public static CXString
clang_Module_getFullName(long
a module object
Module
,
CXString
the full name of the module, e.g. "std.vector".
__result
)

public static CXString
clang_Module_getName(long
a module object
Module
,
CXString
the name of the module, e.g. for the 'std.vector' sub-module it will return "vector".
__result
)

public static int

Returns:

the number of top level headers associated with this module
clang_Module_getNumTopLevelHeaders
(long TU, long
a module object
Module
)

public static long

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.
clang_Module_getParent
(long
a module object
Module
)

public static long

Returns:

the specified top level header associated with the module
clang_Module_getTopLevelHeader
(long TU, long
a module object
Module
,
int
top level header index (zero-based)
Index
)

public static boolean

Returns:

non-zero if the module is a system one
clang_Module_isSystem
(long
a module object
Module
)

public static long
clang_parseTranslationUnit(long CIdx, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, int options)

Same as parseTranslationUnit2, but returns the CXTranslationUnit instead of an error code.

public static long
clang_parseTranslationUnit(long CIdx, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, int options)

Same as parseTranslationUnit2, but returns the CXTranslationUnit instead of an error code.

public static int

Returns:

zero on success, otherwise returns an error code
clang_parseTranslationUnit2
(long
the index object with which the translation unit will be associated
CIdx
,
ByteBuffer
the name of the source file to load, or NULL if the source file is included in command_line_args
source_filename
,
PointerBuffer
the command-line arguments that would be passed to the clang executable if it were being invoked out-of-process. These command-line options will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only' (which is the default), and '-o <output file>'.
command_line_args
,
CXUnsavedFile.Buffer
the files that have not yet been saved to disk but may be required for parsing, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
,
int
a bitmask of options that affects how the translation unit is managed but not its compilation. This should be a bitwise OR of the CXTranslationUnit_XXX flags.
options
,
PointerBuffer
a non-NULL pointer to store the created CXTranslationUnit, describing the parsed code and containing any diagnostics produced by the compiler
out_TU
)

Parse the given source file and the translation unit corresponding to that file.

public static int

Returns:

zero on success, otherwise returns an error code
clang_parseTranslationUnit2
(long
the index object with which the translation unit will be associated
CIdx
,
CharSequence
the name of the source file to load, or NULL if the source file is included in command_line_args
source_filename
,
PointerBuffer
the command-line arguments that would be passed to the clang executable if it were being invoked out-of-process. These command-line options will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only' (which is the default), and '-o <output file>'.
command_line_args
,
CXUnsavedFile.Buffer
the files that have not yet been saved to disk but may be required for parsing, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
,
int
a bitmask of options that affects how the translation unit is managed but not its compilation. This should be a bitwise OR of the CXTranslationUnit_XXX flags.
options
,
PointerBuffer
a non-NULL pointer to store the created CXTranslationUnit, describing the parsed code and containing any diagnostics produced by the compiler
out_TU
)

Parse the given source file and the translation unit corresponding to that file.

public static int
clang_parseTranslationUnit2FullArgv(long CIdx, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, int options, PointerBuffer out_TU)

Same as parseTranslationUnit2 but requires a full command line for command_line_args including argv[0].

public static int
clang_parseTranslationUnit2FullArgv(long CIdx, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.Buffer unsaved_files, int options, PointerBuffer out_TU)

Same as parseTranslationUnit2 but requires a full command line for command_line_args including argv[0].

public static void
clang_PrintingPolicy_dispose(long Policy)

Release a printing policy.

public static int
clang_PrintingPolicy_getProperty(long Policy, int Property)

Get a property value for the given printing policy.

public static void
clang_PrintingPolicy_setProperty(long Policy, int Property, int Value)

Set a property value for the given printing policy.

public static boolean
clang_Range_isNull(CXSourceRange range)

Returns non-zero if range is null.

public static void
clang_remap_dispose(long Remapping)

Dispose the remapping.

public static void
clang_remap_getFilenames(long Remapping, int index, CXString
if non-NULL, will be set to the original filename
original
,
CXString
if non-NULL, will be set to the filename that the original is associated with
transformed
)

Get the original and the associated filename from the remapping.

public static int
clang_remap_getNumFiles(long Remapping)

Determine the number of remappings.

public static int

Returns:

0 if the sources could be reparsed. A non-zero error code will be returned if reparsing was impossible, such that the translation unit is invalid. In such cases, the only valid call for TU is disposeTranslationUnit. The error codes returned by this routine are described by the CXErrorCode enum.
clang_reparseTranslationUnit
(long
the translation unit whose contents will be re-parsed. The translation unit must originally have been built with clang_createTranslationUnitFromSourceFile().
TU
,
CXUnsavedFile.Buffer
the files that have not yet been saved to disk but may be required for parsing, including the contents of those files. The contents and name of these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this function returns.
unsaved_files
,
int
a bitset of options composed of the flags in CXReparse_Flags. The function defaultReparseOptions produces a default set of options recommended for most uses, based on the translation unit.
options
)

Reparse the source files that produced this translation unit.

public static int

Returns:

a value that will match one of the enumerators of the CXSaveError enumeration. Zero (SaveError_None) indicates that the translation unit was saved successfully, while a non-zero value indicates that a problem occurred.
clang_saveTranslationUnit
(long
the translation unit to save
TU
,
ByteBuffer
the file to which the translation unit will be saved
FileName
,
int
a bitmask of options that affects how the translation unit is saved. This should be a bitwise OR of the CXSaveTranslationUnit_XXX flags.
options
)

Saves a translation unit into a serialized representation of that translation unit on disk.

public static int

Returns:

a value that will match one of the enumerators of the CXSaveError enumeration. Zero (SaveError_None) indicates that the translation unit was saved successfully, while a non-zero value indicates that a problem occurred.
clang_saveTranslationUnit
(long
the translation unit to save
TU
,
CharSequence
the file to which the translation unit will be saved
FileName
,
int
a bitmask of options that affects how the translation unit is saved. This should be a bitwise OR of the CXSaveTranslationUnit_XXX flags.
options
)

Saves a translation unit into a serialized representation of that translation unit on disk.

public static void
clang_sortCodeCompletionResults(CXCompletionResult.Buffer
the set of results to sort
Results
)

Sort the code-completion results in case-insensitive alphabetical order.

public static boolean
clang_suspendTranslationUnit(long TU)

Suspend a translation unit in order to free memory associated with it.

public static void
clang_TargetInfo_dispose(long Info)

Destroy the CXTargetInfo object.

public static int
clang_TargetInfo_getPointerWidth(long Info)

Get the pointer width of the target in bits.

public static CXString
clang_TargetInfo_getTriple(long Info, CXString __result)

Get the normalized target triple as a string.

public static void
clang_toggleCrashRecovery(boolean
flag to indicate if crash recovery is enabled. A non-zero value enables crash recovery, while 0 disables it.
isEnabled
)

Enable/disable crash recovery.

public static void
clang_tokenize(long
the translation unit whose text is being tokenized
TU
,
CXSourceRange
the source range in which text should be tokenized. All of the tokens produced by tokenization will fall within this source range,
Range
,
PointerBuffer
this pointer will be set to point to the array of tokens that occur within the given source range. The returned pointer must be freed with disposeTokens before the translation unit is destroyed.
Tokens
,
IntBuffer
will be set to the number of tokens in the *Tokens array
NumTokens
)

Tokenize the source code described by the given range into raw lexical tokens.

public static long
clang_Type_getAlignOf(CXType T)

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

public static CXType
clang_Type_getClassType(CXType T, CXType __result)

Return the class type of an member pointer type.

public static int
clang_Type_getCXXRefQualifier(CXType T)

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

public static CXType
clang_Type_getModifiedType(CXType T, CXType __result)

Return the type that was modified by this attributed type.

public static CXType
clang_Type_getNamedType(CXType T, CXType __result)

Retrieve the type named by the qualified-id.

If a non-elaborated type is passed in, an invalid type is returned.

public static int
clang_Type_getNullability(CXType T)

Retrieve the nullability kind of a pointer type.

public static int
clang_Type_getNumObjCProtocolRefs(CXType T)

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

If the type is not an ObjC object, 0 is returned.

public static int
clang_Type_getNumObjCTypeArgs(CXType T)

Retrieve the number of type arguments associated with an ObjC object.

public static int
clang_Type_getNumTemplateArguments(CXType T)

Returns the number of template arguments for given template specialization, or -1 if type T is not a template specialization.

public static CXString
clang_Type_getObjCEncoding(CXType type, CXString __result)

Returns the Objective-C type encoding for the specified CXType.

public static CXType
clang_Type_getObjCObjectBaseType(CXType T, CXType __result)

Retrieves the base type of the ObjCObjectType.

public static CXCursor
clang_Type_getObjCProtocolDecl(CXType T, int i, CXCursor __result)

Retrieve the decl for a protocol reference for an ObjC object/id.

If the type is not an ObjC object or there are not enough protocol references, an invalid cursor is returned.

public static CXType
clang_Type_getObjCTypeArg(CXType T, int i, CXType __result)

Retrieve a type argument associated with an ObjC object.

public static long
clang_Type_getOffsetOf(CXType T, ByteBuffer S)

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]

If the cursor is not a record field declaration, TypeLayoutError_Invalid is returned.

public static long
clang_Type_getOffsetOf(CXType T, CharSequence S)

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]

If the cursor is not a record field declaration, TypeLayoutError_Invalid is returned.

public static long
clang_Type_getSizeOf(CXType T)

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

public static CXType
clang_Type_getTemplateArgumentAsType(CXType T, int i, CXType __result)

Returns the type template argument of a template class specialization at given index.

public static CXType
clang_Type_getValueType(CXType CT, CXType __result)

Gets the type contained by this atomic type.

public static boolean

Returns:

non-zero if transparent and zero otherwise
clang_Type_isTransparentTagTypedef
(CXType T)

Determine if a typedef is 'transparent' tag.

public static boolean

Returns:

a non-zero value if the traversal was terminated prematurely by the visitor returning Visit_Break
clang_Type_visitFields
(CXType
the record type whose field may be visited
T
,
CXFieldVisitorI
the visitor function that will be invoked for each field of T
visitor
,
long
pointer data supplied by the client, which will be passed to the visitor each time it is invoked
client_data
)

Visit the fields of a particular type.

public static boolean

Returns:

a non-zero value if the traversal was terminated prematurely by the visitor returning ChildVisit_Break
clang_visitChildren
(CXCursor
the cursor whose child may be visited. All kinds of cursors can be visited, including invalid cursors (which, by definition, have no children).
parent
,
CXCursorVisitorI
the visitor function that will be invoked for each child of parent
visitor
,
long
pointer data supplied by the client, which will be passed to the visitor each time it is invoked
client_data
)

Visit the children of a particular cursor.

public static SharedLibrary
getLibrary()

Returns the CLANG SharedLibrary.

public static void
nclang_annotateTokens(long TU, long Tokens, int
the number of tokens in Tokens
NumTokens
,
long Cursors)

Unsafe version of: annotateTokens

public static long
nclang_codeCompleteAt(long TU, long complete_filename, int complete_line, int complete_column, long unsaved_files, int
the number of unsaved file entries in unsaved_files
num_unsaved_files
,
int options)

Unsafe version of: codeCompleteAt

public static int
nclang_codeCompleteGetContainerKind(long Results, long IsIncomplete)

Unsafe version of: codeCompleteGetContainerKind

public static native void
nclang_codeCompleteGetContainerUSR(long Results, long __functionAddress, long __result)

Unsafe version of: codeCompleteGetContainerUSR

public static void
nclang_codeCompleteGetContainerUSR(long Results, long __result)

Unsafe version of: codeCompleteGetContainerUSR

public static long
public static long
nclang_codeCompleteGetDiagnostic(long Results, int Index)

Unsafe version of: codeCompleteGetDiagnostic

public static int
public static native void
nclang_codeCompleteGetObjCSelector(long Results, long __functionAddress, long __result)

Unsafe version of: codeCompleteGetObjCSelector

public static void
nclang_codeCompleteGetObjCSelector(long Results, long __result)

Unsafe version of: codeCompleteGetObjCSelector

public static native void
nclang_constructUSR_ObjCCategory(long class_name, long category_name, long __functionAddress, long __result)

Unsafe version of: constructUSR_ObjCCategory

public static void
nclang_constructUSR_ObjCCategory(long class_name, long category_name, long __result)

Unsafe version of: constructUSR_ObjCCategory

public static native void
nclang_constructUSR_ObjCClass(long class_name, long __functionAddress, long __result)

Unsafe version of: constructUSR_ObjCClass

public static void
nclang_constructUSR_ObjCClass(long class_name, long __result)

Unsafe version of: constructUSR_ObjCClass

public static native void
nclang_constructUSR_ObjCIvar(long name, long classUSR, long __functionAddress, long __result)

Unsafe version of: constructUSR_ObjCIvar

public static void
nclang_constructUSR_ObjCIvar(long name, long classUSR, long __result)

Unsafe version of: constructUSR_ObjCIvar

public static native void
nclang_constructUSR_ObjCMethod(long name, int isInstanceMethod, long classUSR, long __functionAddress, long __result)

Unsafe version of: constructUSR_ObjCMethod

public static void
nclang_constructUSR_ObjCMethod(long name, int isInstanceMethod, long classUSR, long __result)

Unsafe version of: constructUSR_ObjCMethod

public static native void
nclang_constructUSR_ObjCProperty(long property, long classUSR, long __functionAddress, long __result)

Unsafe version of: constructUSR_ObjCProperty

public static void
nclang_constructUSR_ObjCProperty(long property, long classUSR, long __result)

Unsafe version of: constructUSR_ObjCProperty

public static native void
nclang_constructUSR_ObjCProtocol(long protocol_name, long __functionAddress, long __result)

Unsafe version of: constructUSR_ObjCProtocol

public static void
nclang_constructUSR_ObjCProtocol(long protocol_name, long __result)

Unsafe version of: constructUSR_ObjCProtocol

public static long
nclang_createTranslationUnit(long CIdx, long ast_filename)

Unsafe version of: createTranslationUnit

public static int
nclang_createTranslationUnit2(long CIdx, long ast_filename, long out_TU)

Unsafe version of: createTranslationUnit2

public static long
nclang_createTranslationUnitFromSourceFile(long CIdx, long source_filename, int
the number of command-line arguments in clang_command_line_args
num_clang_command_line_args
,
long clang_command_line_args, int
the number of unsaved file entries in unsaved_files
num_unsaved_files
,
long unsaved_files)

Unsafe version of: createTranslationUnitFromSourceFile

public static native long
nclang_Cursor_Evaluate(long C, long __functionAddress)

Unsafe version of: Cursor_Evaluate

public static long
nclang_Cursor_Evaluate(long C)

Unsafe version of: Cursor_Evaluate

public static native void
nclang_Cursor_getArgument(long C, int i, long __functionAddress, long __result)

Unsafe version of: Cursor_getArgument

public static void
nclang_Cursor_getArgument(long C, int i, long __result)

Unsafe version of: Cursor_getArgument

public static native void
nclang_Cursor_getBriefCommentText(long C, long __functionAddress, long __result)

Unsafe version of: Cursor_getBriefCommentText

public static void
nclang_Cursor_getBriefCommentText(long C, long __result)

Unsafe version of: Cursor_getBriefCommentText

public static native void
nclang_Cursor_getCommentRange(long C, long __functionAddress, long __result)

Unsafe version of: Cursor_getCommentRange

public static void
nclang_Cursor_getCommentRange(long C, long __result)

Unsafe version of: Cursor_getCommentRange

public static native long
nclang_Cursor_getCXXManglings(long cursor, long __functionAddress)

Unsafe version of: Cursor_getCXXManglings

public static long
public static native void
nclang_Cursor_getMangling(long cursor, long __functionAddress, long __result)

Unsafe version of: Cursor_getMangling

public static void
nclang_Cursor_getMangling(long cursor, long __result)

Unsafe version of: Cursor_getMangling

public static native long
nclang_Cursor_getModule(long C, long __functionAddress)

Unsafe version of: Cursor_getModule

public static long
nclang_Cursor_getModule(long C)

Unsafe version of: Cursor_getModule

public static native int
nclang_Cursor_getNumArguments(long C, long __functionAddress)

Unsafe version of: Cursor_getNumArguments

public static int
public static native int
nclang_Cursor_getNumTemplateArguments(long C, long __functionAddress)

Unsafe version of: Cursor_getNumTemplateArguments

public static int
public static native int
nclang_Cursor_getObjCDeclQualifiers(long C, long __functionAddress)

Unsafe version of: Cursor_getObjCDeclQualifiers

public static int
public static native long
nclang_Cursor_getObjCManglings(long cursor, long __functionAddress)

Unsafe version of: Cursor_getObjCManglings

public static long
public static native int
nclang_Cursor_getObjCPropertyAttributes(long C, int reserved, long __functionAddress)

Unsafe version of: Cursor_getObjCPropertyAttributes

public static int
public static native void
nclang_Cursor_getObjCPropertyGetterName(long C, long __functionAddress, long __result)

Unsafe version of: Cursor_getObjCPropertyGetterName

public static void
public static native void
nclang_Cursor_getObjCPropertySetterName(long C, long __functionAddress, long __result)

Unsafe version of: Cursor_getObjCPropertySetterName

public static void
public static native int
nclang_Cursor_getObjCSelectorIndex(long cursor, long __functionAddress)

Unsafe version of: Cursor_getObjCSelectorIndex

public static int
public static native long
nclang_Cursor_getOffsetOfField(long C, long __functionAddress)

Unsafe version of: Cursor_getOffsetOfField

public static long
public static native void
nclang_Cursor_getRawCommentText(long C, long __functionAddress, long __result)

Unsafe version of: Cursor_getRawCommentText

public static void
nclang_Cursor_getRawCommentText(long C, long __result)

Unsafe version of: Cursor_getRawCommentText

public static native void
nclang_Cursor_getReceiverType(long C, long __functionAddress, long __result)

Unsafe version of: Cursor_getReceiverType

public static void
nclang_Cursor_getReceiverType(long C, long __result)

Unsafe version of: Cursor_getReceiverType

public static native void
nclang_Cursor_getSpellingNameRange(long cursor, int pieceIndex, int options, long __functionAddress, long __result)

Unsafe version of: Cursor_getSpellingNameRange

public static void
nclang_Cursor_getSpellingNameRange(long cursor, int pieceIndex, int options, long __result)

Unsafe version of: Cursor_getSpellingNameRange

public static native int
nclang_Cursor_getStorageClass(long cursor, long __functionAddress)

Unsafe version of: Cursor_getStorageClass

public static int
public static native int
nclang_Cursor_getTemplateArgumentKind(long C, int I, long __functionAddress)

Unsafe version of: Cursor_getTemplateArgumentKind

public static int
public static native void
nclang_Cursor_getTemplateArgumentType(long C, int I, long __functionAddress, long __result)

Unsafe version of: Cursor_getTemplateArgumentType

public static void
nclang_Cursor_getTemplateArgumentType(long C, int I, long __result)

Unsafe version of: Cursor_getTemplateArgumentType

public static native long
nclang_Cursor_getTemplateArgumentUnsignedValue(long C, int I, long __functionAddress)

Unsafe version of: Cursor_getTemplateArgumentUnsignedValue

public static long
public static native long
nclang_Cursor_getTemplateArgumentValue(long C, int I, long __functionAddress)

Unsafe version of: Cursor_getTemplateArgumentValue

public static long
public static native long
nclang_Cursor_getTranslationUnit(long cursor, long __functionAddress)

Unsafe version of: Cursor_getTranslationUnit

public static long
public static native void
nclang_Cursor_getVarDeclInitializer(long cursor, long __functionAddress, long __result)

Unsafe version of: Cursor_getVarDeclInitializer

public static void
nclang_Cursor_getVarDeclInitializer(long cursor, long __result)

Unsafe version of: Cursor_getVarDeclInitializer

public static native int
nclang_Cursor_hasAttrs(long C, long __functionAddress)

Unsafe version of: Cursor_hasAttrs

public static int
nclang_Cursor_hasAttrs(long C)

Unsafe version of: Cursor_hasAttrs

public static native int
nclang_Cursor_hasVarDeclExternalStorage(long cursor, long __functionAddress)

Unsafe version of: Cursor_hasVarDeclExternalStorage

public static int
public static native int
nclang_Cursor_hasVarDeclGlobalStorage(long cursor, long __functionAddress)

Unsafe version of: Cursor_hasVarDeclGlobalStorage

public static int
public static native int
nclang_Cursor_isAnonymous(long C, long __functionAddress)

Unsafe version of: Cursor_isAnonymous

public static int
public static native int
nclang_Cursor_isAnonymousRecordDecl(long C, long __functionAddress)

Unsafe version of: Cursor_isAnonymousRecordDecl

public static int
public static native int
nclang_Cursor_isBitField(long C, long __functionAddress)

Unsafe version of: Cursor_isBitField

public static int
nclang_Cursor_isBitField(long C)

Unsafe version of: Cursor_isBitField

public static native int
nclang_Cursor_isDynamicCall(long C, long __functionAddress)

Unsafe version of: Cursor_isDynamicCall

public static int
public static native int
nclang_Cursor_isExternalSymbol(long C, long language, long definedIn, long isGenerated, long __functionAddress)

Unsafe version of: Cursor_isExternalSymbol

public static int
nclang_Cursor_isExternalSymbol(long C, long language, long definedIn, long isGenerated)

Unsafe version of: Cursor_isExternalSymbol

public static native int
nclang_Cursor_isFunctionInlined(long C, long __functionAddress)

Unsafe version of: Cursor_isFunctionInlined

public static int
public static native int
nclang_Cursor_isInlineNamespace(long C, long __functionAddress)

Unsafe version of: Cursor_isInlineNamespace

public static int
public static native int
nclang_Cursor_isMacroBuiltin(long C, long __functionAddress)

Unsafe version of: Cursor_isMacroBuiltin

public static int
public static native int
nclang_Cursor_isMacroFunctionLike(long C, long __functionAddress)

Unsafe version of: Cursor_isMacroFunctionLike

public static int
public static native int
nclang_Cursor_isNull(long cursor, long __functionAddress)

Unsafe version of: Cursor_isNull

public static int
nclang_Cursor_isNull(long cursor)

Unsafe version of: Cursor_isNull

public static native int
nclang_Cursor_isObjCOptional(long C, long __functionAddress)

Unsafe version of: Cursor_isObjCOptional

public static int
public static native int
nclang_Cursor_isVariadic(long C, long __functionAddress)

Unsafe version of: Cursor_isVariadic

public static int
nclang_Cursor_isVariadic(long C)

Unsafe version of: Cursor_isVariadic

public static native int
nclang_CXCursorSet_contains(long cset, long cursor, long __functionAddress)

Unsafe version of: CXCursorSet_contains

public static int
nclang_CXCursorSet_contains(long cset, long cursor)

Unsafe version of: CXCursorSet_contains

public static native int
nclang_CXCursorSet_insert(long cset, long cursor, long __functionAddress)

Unsafe version of: CXCursorSet_insert

public static int
nclang_CXCursorSet_insert(long cset, long cursor)

Unsafe version of: CXCursorSet_insert

public static void
public static native int
public static int
public static native int
nclang_CXXConstructor_isCopyConstructor(long C, long __functionAddress)

Unsafe version of: CXXConstructor_isCopyConstructor

public static int
public static native int
nclang_CXXConstructor_isDefaultConstructor(long C, long __functionAddress)

Unsafe version of: CXXConstructor_isDefaultConstructor

public static int
public static native int
nclang_CXXConstructor_isMoveConstructor(long C, long __functionAddress)

Unsafe version of: CXXConstructor_isMoveConstructor

public static int
public static native int
nclang_CXXField_isMutable(long C, long __functionAddress)

Unsafe version of: CXXField_isMutable

public static int
public static native int
nclang_CXXMethod_isConst(long C, long __functionAddress)

Unsafe version of: CXXMethod_isConst

public static int
nclang_CXXMethod_isConst(long C)

Unsafe version of: CXXMethod_isConst

public static native int
nclang_CXXMethod_isCopyAssignmentOperator(long C, long __functionAddress)

Unsafe version of: CXXMethod_isCopyAssignmentOperator

public static int
public static native int
nclang_CXXMethod_isDefaulted(long C, long __functionAddress)

Unsafe version of: CXXMethod_isDefaulted

public static int
public static native int
nclang_CXXMethod_isDeleted(long C, long __functionAddress)

Unsafe version of: CXXMethod_isDeleted

public static int
public static native int
nclang_CXXMethod_isMoveAssignmentOperator(long C, long __functionAddress)

Unsafe version of: CXXMethod_isMoveAssignmentOperator

public static int
public static native int
nclang_CXXMethod_isPureVirtual(long C, long __functionAddress)

Unsafe version of: CXXMethod_isPureVirtual

public static int
public static native int
nclang_CXXMethod_isStatic(long C, long __functionAddress)

Unsafe version of: CXXMethod_isStatic

public static int
public static native int
nclang_CXXMethod_isVirtual(long C, long __functionAddress)

Unsafe version of: CXXMethod_isVirtual

public static int
public static native int
nclang_CXXRecord_isAbstract(long C, long __functionAddress)

Unsafe version of: CXXRecord_isAbstract

public static int
public static void
public static void
public static native void
nclang_disposeCXTUResourceUsage(long usage, long __functionAddress)

public static void
public static void
nclang_disposeOverriddenCursors(long overridden)

Unsafe version of: disposeOverriddenCursors

public static void
public static native void
nclang_disposeString(long string, long __functionAddress)

Unsafe version of: disposeString

public static void
nclang_disposeString(long string)

Unsafe version of: disposeString

public static void
nclang_disposeStringSet(long set)

Unsafe version of: disposeStringSet

public static void
nclang_disposeTokens(long TU, long Tokens, int NumTokens)

Unsafe version of: disposeTokens

public static native int
nclang_EnumDecl_isScoped(long C, long __functionAddress)

Unsafe version of: EnumDecl_isScoped

public static int
nclang_EnumDecl_isScoped(long C)

Unsafe version of: EnumDecl_isScoped

public static native int
nclang_equalCursors(long A, long B, long __functionAddress)

Unsafe version of: equalCursors

public static int
nclang_equalCursors(long A, long B)

Unsafe version of: equalCursors

public static native int
nclang_equalLocations(long loc1, long loc2, long __functionAddress)

Unsafe version of: equalLocations

public static int
nclang_equalLocations(long loc1, long loc2)

Unsafe version of: equalLocations

public static native int
nclang_equalRanges(long range1, long range2, long __functionAddress)

Unsafe version of: equalRanges

public static int
nclang_equalRanges(long range1, long range2)

Unsafe version of: equalRanges

public static native int
nclang_equalTypes(long A, long B, long __functionAddress)

Unsafe version of: equalTypes

public static int
nclang_equalTypes(long A, long B)

Unsafe version of: equalTypes

public static long
public static void
nclang_executeOnThread(long fn, long user_data, int stack_size)

public static native void
nclang_File_tryGetRealPathName(long file, long __functionAddress, long __result)

Unsafe version of: File_tryGetRealPathName

public static void
nclang_File_tryGetRealPathName(long file, long __result)

Unsafe version of: File_tryGetRealPathName

public static native int
nclang_findIncludesInFile(long TU, long file, long visitor, long __functionAddress)

Unsafe version of: findIncludesInFile

public static int
nclang_findIncludesInFile(long TU, long file, long visitor)

Unsafe version of: findIncludesInFile

public static native int
nclang_findReferencesInFile(long cursor, long file, long visitor, long __functionAddress)

Unsafe version of: findReferencesInFile

public static int
nclang_findReferencesInFile(long cursor, long file, long visitor)

Unsafe version of: findReferencesInFile

public static native void
nclang_formatDiagnostic(long Diagnostic, int Options, long __functionAddress, long __result)

Unsafe version of: formatDiagnostic

public static void
nclang_formatDiagnostic(long Diagnostic, int Options, long __result)

Unsafe version of: formatDiagnostic

public static native int
nclang_getAddressSpace(long T, long __functionAddress)

Unsafe version of: getAddressSpace

public static int
nclang_getAddressSpace(long T)

Unsafe version of: getAddressSpace

public static long
public static native void
nclang_getArgType(long T, int i, long __functionAddress, long __result)

Unsafe version of: getArgType

public static void
nclang_getArgType(long T, int i, long __result)

Unsafe version of: getArgType

public static native void
nclang_getArrayElementType(long T, long __functionAddress, long __result)

Unsafe version of: getArrayElementType

public static void
nclang_getArrayElementType(long T, long __result)

Unsafe version of: getArrayElementType

public static native long
nclang_getArraySize(long T, long __functionAddress)

Unsafe version of: getArraySize

public static long
nclang_getArraySize(long T)

Unsafe version of: getArraySize

public static native void
nclang_getCanonicalCursor(long cursor, long __functionAddress, long __result)

Unsafe version of: getCanonicalCursor

public static void
nclang_getCanonicalCursor(long cursor, long __result)

Unsafe version of: getCanonicalCursor

public static native void
nclang_getCanonicalType(long T, long __functionAddress, long __result)

Unsafe version of: getCanonicalType

public static void
nclang_getCanonicalType(long T, long __result)

Unsafe version of: getCanonicalType

public static native void
nclang_getClangVersion(long __functionAddress, long __result)

Unsafe version of: getClangVersion

public static void
nclang_getClangVersion(long __result)

Unsafe version of: getClangVersion

public static native void
nclang_getCompletionAnnotation(long completion_string, int annotation_number, long __functionAddress, long __result)

Unsafe version of: getCompletionAnnotation

public static void
nclang_getCompletionAnnotation(long completion_string, int annotation_number, long __result)

Unsafe version of: getCompletionAnnotation

public static native void
nclang_getCompletionBriefComment(long completion_string, long __functionAddress, long __result)

Unsafe version of: getCompletionBriefComment

public static void
nclang_getCompletionBriefComment(long completion_string, long __result)

Unsafe version of: getCompletionBriefComment

public static native void
nclang_getCompletionChunkText(long completion_string, int chunk_number, long __functionAddress, long __result)

Unsafe version of: getCompletionChunkText

public static void
nclang_getCompletionChunkText(long completion_string, int chunk_number, long __result)

Unsafe version of: getCompletionChunkText

public static native void
nclang_getCompletionFixIt(long results, int completion_index, int fixit_index, long replacement_range, long __functionAddress, long __result)

Unsafe version of: getCompletionFixIt

public static void
nclang_getCompletionFixIt(long results, int completion_index, int fixit_index, long replacement_range, long __result)

Unsafe version of: getCompletionFixIt

public static int
nclang_getCompletionNumFixIts(long results, int completion_index)

Unsafe version of: getCompletionNumFixIts

public static native void
nclang_getCompletionParent(long completion_string, long kind, long __functionAddress, long __result)

Unsafe version of: getCompletionParent

public static void
nclang_getCompletionParent(long completion_string, long kind, long __result)

Unsafe version of: getCompletionParent

public static native long
nclang_getCString(long string, long __functionAddress)

Unsafe version of: getCString

public static long
nclang_getCString(long string)

Unsafe version of: getCString

public static native void
nclang_getCursor(long TU, long location, long __functionAddress, long __result)

Unsafe version of: getCursor

public static void
nclang_getCursor(long TU, long location, long __result)

Unsafe version of: getCursor

public static native int
nclang_getCursorAvailability(long cursor, long __functionAddress)

Unsafe version of: getCursorAvailability

public static int
nclang_getCursorAvailability(long cursor)

Unsafe version of: getCursorAvailability

public static native long
nclang_getCursorCompletionString(long cursor, long __functionAddress)

Unsafe version of: getCursorCompletionString

public static long
public static native void
nclang_getCursorDefinition(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorDefinition

public static void
nclang_getCursorDefinition(long cursor, long __result)

Unsafe version of: getCursorDefinition

public static native void
nclang_getCursorDisplayName(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorDisplayName

public static void
nclang_getCursorDisplayName(long cursor, long __result)

Unsafe version of: getCursorDisplayName

public static native int
nclang_getCursorExceptionSpecificationType(long C, long __functionAddress)

Unsafe version of: getCursorExceptionSpecificationType

public static int
public static native void
nclang_getCursorExtent(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorExtent

public static void
nclang_getCursorExtent(long cursor, long __result)

Unsafe version of: getCursorExtent

public static native int
nclang_getCursorKind(long cursor, long __functionAddress)

Unsafe version of: getCursorKind

public static int
nclang_getCursorKind(long cursor)

Unsafe version of: getCursorKind

public static native void
nclang_getCursorKindSpelling(int Kind, long __functionAddress, long __result)

public static void
nclang_getCursorKindSpelling(int Kind, long __result)

public static native int
nclang_getCursorLanguage(long cursor, long __functionAddress)

Unsafe version of: getCursorLanguage

public static int
nclang_getCursorLanguage(long cursor)

Unsafe version of: getCursorLanguage

public static native void
nclang_getCursorLexicalParent(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorLexicalParent

public static void
nclang_getCursorLexicalParent(long cursor, long __result)

Unsafe version of: getCursorLexicalParent

public static native int
nclang_getCursorLinkage(long cursor, long __functionAddress)

Unsafe version of: getCursorLinkage

public static int
nclang_getCursorLinkage(long cursor)

Unsafe version of: getCursorLinkage

public static native void
nclang_getCursorLocation(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorLocation

public static void
nclang_getCursorLocation(long cursor, long __result)

Unsafe version of: getCursorLocation

public static native int
nclang_getCursorPlatformAvailability(long cursor, long always_deprecated, long deprecated_message, long always_unavailable, long unavailable_message, long availability, int
the number of elements available in the availability array
availability_size
,
long __functionAddress)

Unsafe version of: getCursorPlatformAvailability

public static int
nclang_getCursorPlatformAvailability(long cursor, long always_deprecated, long deprecated_message, long always_unavailable, long unavailable_message, long availability, int
the number of elements available in the availability array
availability_size
)

Unsafe version of: getCursorPlatformAvailability

public static native void
nclang_getCursorPrettyPrinted(long Cursor, long Policy, long __functionAddress, long __result)

Unsafe version of: getCursorPrettyPrinted

public static void
nclang_getCursorPrettyPrinted(long Cursor, long Policy, long __result)

Unsafe version of: getCursorPrettyPrinted

public static native long
nclang_getCursorPrintingPolicy(long cursor, long __functionAddress)

Unsafe version of: getCursorPrintingPolicy

public static long
public static native void
nclang_getCursorReferenced(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorReferenced

public static void
nclang_getCursorReferenced(long cursor, long __result)

Unsafe version of: getCursorReferenced

public static native void
nclang_getCursorReferenceNameRange(long C, int NameFlags, int PieceIndex, long __functionAddress, long __result)

Unsafe version of: getCursorReferenceNameRange

public static void
nclang_getCursorReferenceNameRange(long C, int NameFlags, int PieceIndex, long __result)

Unsafe version of: getCursorReferenceNameRange

public static native void
nclang_getCursorResultType(long C, long __functionAddress, long __result)

Unsafe version of: getCursorResultType

public static void
nclang_getCursorResultType(long C, long __result)

Unsafe version of: getCursorResultType

public static native void
nclang_getCursorSemanticParent(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorSemanticParent

public static void
nclang_getCursorSemanticParent(long cursor, long __result)

Unsafe version of: getCursorSemanticParent

public static native void
nclang_getCursorSpelling(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorSpelling

public static void
nclang_getCursorSpelling(long cursor, long __result)

Unsafe version of: getCursorSpelling

public static native int
nclang_getCursorTLSKind(long cursor, long __functionAddress)

Unsafe version of: getCursorTLSKind

public static int
nclang_getCursorTLSKind(long cursor)

Unsafe version of: getCursorTLSKind

public static native void
nclang_getCursorType(long C, long __functionAddress, long __result)

Unsafe version of: getCursorType

public static void
nclang_getCursorType(long C, long __result)

Unsafe version of: getCursorType

public static native void
nclang_getCursorUSR(long cursor, long __functionAddress, long __result)

Unsafe version of: getCursorUSR

public static void
nclang_getCursorUSR(long cursor, long __result)

Unsafe version of: getCursorUSR

public static native int
nclang_getCursorVisibility(long cursor, long __functionAddress)

Unsafe version of: getCursorVisibility

public static int
nclang_getCursorVisibility(long cursor)

Unsafe version of: getCursorVisibility

public static native void
nclang_getCXTUResourceUsage(long TU, long __functionAddress, long __result)

Unsafe version of: getCXTUResourceUsage

public static void
nclang_getCXTUResourceUsage(long TU, long __result)

Unsafe version of: getCXTUResourceUsage

public static native int
nclang_getCXXAccessSpecifier(long cursor, long __functionAddress)

Unsafe version of: getCXXAccessSpecifier

public static int
nclang_getCXXAccessSpecifier(long cursor)

Unsafe version of: getCXXAccessSpecifier

public static native void
nclang_getDeclObjCTypeEncoding(long C, long __functionAddress, long __result)

Unsafe version of: getDeclObjCTypeEncoding

public static void
nclang_getDeclObjCTypeEncoding(long C, long __result)

Unsafe version of: getDeclObjCTypeEncoding

public static native void
nclang_getDefinitionSpellingAndExtent(long cursor, long startBuf, long endBuf, long startLine, long startColumn, long endLine, long endColumn, long __functionAddress)

public static void
nclang_getDefinitionSpellingAndExtent(long cursor, long startBuf, long endBuf, long startLine, long startColumn, long endLine, long endColumn)

public static native void
nclang_getDiagnosticCategoryText(long Diagnostic, long __functionAddress, long __result)

Unsafe version of: getDiagnosticCategoryText

public static void
nclang_getDiagnosticCategoryText(long Diagnostic, long __result)

Unsafe version of: getDiagnosticCategoryText

public static native void
nclang_getDiagnosticFixIt(long Diagnostic, int FixIt, long ReplacementRange, long __functionAddress, long __result)

Unsafe version of: getDiagnosticFixIt

public static void
nclang_getDiagnosticFixIt(long Diagnostic, int FixIt, long ReplacementRange, long __result)

Unsafe version of: getDiagnosticFixIt

public static native void
nclang_getDiagnosticLocation(long Diagnostic, long __functionAddress, long __result)

Unsafe version of: getDiagnosticLocation

public static void
nclang_getDiagnosticLocation(long Diagnostic, long __result)

Unsafe version of: getDiagnosticLocation

public static native void
nclang_getDiagnosticOption(long Diag, long Disable, long __functionAddress, long __result)

Unsafe version of: getDiagnosticOption

public static void
nclang_getDiagnosticOption(long Diag, long Disable, long __result)

Unsafe version of: getDiagnosticOption

public static native void
nclang_getDiagnosticRange(long Diagnostic, int Range, long __functionAddress, long __result)

Unsafe version of: getDiagnosticRange

public static void
nclang_getDiagnosticRange(long Diagnostic, int Range, long __result)

Unsafe version of: getDiagnosticRange

public static native void
nclang_getDiagnosticSpelling(long Diagnostic, long __functionAddress, long __result)

Unsafe version of: getDiagnosticSpelling

public static void
nclang_getDiagnosticSpelling(long Diagnostic, long __result)

Unsafe version of: getDiagnosticSpelling

public static native void
nclang_getElementType(long T, long __functionAddress, long __result)

Unsafe version of: getElementType

public static void
nclang_getElementType(long T, long __result)

Unsafe version of: getElementType

public static native long
nclang_getEnumConstantDeclUnsignedValue(long C, long __functionAddress)

Unsafe version of: getEnumConstantDeclUnsignedValue

public static long
public static native long
nclang_getEnumConstantDeclValue(long C, long __functionAddress)

Unsafe version of: getEnumConstantDeclValue

public static long
public static native void
nclang_getEnumDeclIntegerType(long C, long __functionAddress, long __result)

Unsafe version of: getEnumDeclIntegerType

public static void
nclang_getEnumDeclIntegerType(long C, long __result)

Unsafe version of: getEnumDeclIntegerType

public static native int
nclang_getExceptionSpecificationType(long T, long __functionAddress)

Unsafe version of: getExceptionSpecificationType

public static int
public static native void
nclang_getExpansionLocation(long location, long file, long line, long column, long offset, long __functionAddress)

Unsafe version of: getExpansionLocation

public static void
nclang_getExpansionLocation(long location, long file, long line, long column, long offset)

Unsafe version of: getExpansionLocation

public static native int
nclang_getFieldDeclBitWidth(long C, long __functionAddress)

Unsafe version of: getFieldDeclBitWidth

public static int
public static long
nclang_getFile(long tu, long file_name)

Unsafe version of: getFile

public static long
nclang_getFileContents(long tu, long file, long
[out] if non-NULL, will be set to the size of the buffer
size
)

Unsafe version of: getFileContents

public static native void
nclang_getFileLocation(long location, long file, long line, long column, long offset, long __functionAddress)

Unsafe version of: getFileLocation

public static void
nclang_getFileLocation(long location, long file, long line, long column, long offset)

Unsafe version of: getFileLocation

public static native void
nclang_getFileName(long SFile, long __functionAddress, long __result)

Unsafe version of: getFileName

public static void
nclang_getFileName(long SFile, long __result)

Unsafe version of: getFileName

public static int
nclang_getFileUniqueID(long file, long outID)

Unsafe version of: getFileUniqueID

public static native int
nclang_getFunctionTypeCallingConv(long T, long __functionAddress)

Unsafe version of: getFunctionTypeCallingConv

public static int
public static native void
nclang_getIBOutletCollectionType(long cursor, long __functionAddress, long __result)

Unsafe version of: getIBOutletCollectionType

public static void
nclang_getIBOutletCollectionType(long cursor, long __result)

Unsafe version of: getIBOutletCollectionType

public static native long
nclang_getIncludedFile(long cursor, long __functionAddress)

Unsafe version of: getIncludedFile

public static long
nclang_getIncludedFile(long cursor)

Unsafe version of: getIncludedFile

public static void
nclang_getInclusions(long tu, long visitor, long client_data)

Unsafe version of: getInclusions

public static native void
nclang_getLocation(long tu, long file, int line, int column, long __functionAddress, long __result)

Unsafe version of: getLocation

public static void
nclang_getLocation(long tu, long file, int line, int column, long __result)

Unsafe version of: getLocation

public static native void
nclang_getLocationForOffset(long tu, long file, int offset, long __functionAddress, long __result)

Unsafe version of: getLocationForOffset

public static void
nclang_getLocationForOffset(long tu, long file, int offset, long __result)

Unsafe version of: getLocationForOffset

public static native void
nclang_getNonReferenceType(long CT, long __functionAddress, long __result)

Unsafe version of: getNonReferenceType

public static void
nclang_getNonReferenceType(long CT, long __result)

Unsafe version of: getNonReferenceType

public static native void
nclang_getNullCursor(long __functionAddress, long __result)

Unsafe version of: getNullCursor

public static void
nclang_getNullCursor(long __result)

Unsafe version of: getNullCursor

public static native void
nclang_getNullLocation(long __functionAddress, long __result)

Unsafe version of: getNullLocation

public static void
nclang_getNullLocation(long __result)

Unsafe version of: getNullLocation

public static native void
nclang_getNullRange(long __functionAddress, long __result)

Unsafe version of: getNullRange

public static void
nclang_getNullRange(long __result)

Unsafe version of: getNullRange

public static native int
nclang_getNumArgTypes(long T, long __functionAddress)

Unsafe version of: getNumArgTypes

public static int
nclang_getNumArgTypes(long T)

Unsafe version of: getNumArgTypes

public static native long
nclang_getNumElements(long T, long __functionAddress)

Unsafe version of: getNumElements

public static long
nclang_getNumElements(long T)

Unsafe version of: getNumElements

public static native int
nclang_getNumOverloadedDecls(long cursor, long __functionAddress)

Unsafe version of: getNumOverloadedDecls

public static int
nclang_getNumOverloadedDecls(long cursor)

Unsafe version of: getNumOverloadedDecls

public static native void
nclang_getOverloadedDecl(long cursor, int index, long __functionAddress, long __result)

Unsafe version of: getOverloadedDecl

public static void
nclang_getOverloadedDecl(long cursor, int index, long __result)

Unsafe version of: getOverloadedDecl

public static native void
nclang_getOverriddenCursors(long cursor, long overridden, long num_overridden, long __functionAddress)

Unsafe version of: getOverriddenCursors

public static void
nclang_getOverriddenCursors(long cursor, long overridden, long num_overridden)

Unsafe version of: getOverriddenCursors

public static native void
nclang_getPointeeType(long T, long __functionAddress, long __result)

Unsafe version of: getPointeeType

public static void
nclang_getPointeeType(long T, long __result)

Unsafe version of: getPointeeType

public static native void
nclang_getPresumedLocation(long location, long filename, long line, long column, long __functionAddress)

Unsafe version of: getPresumedLocation

public static void
nclang_getPresumedLocation(long location, long filename, long line, long column)

Unsafe version of: getPresumedLocation

public static native void
nclang_getRange(long begin, long end, long __functionAddress, long __result)

Unsafe version of: getRange

public static void
nclang_getRange(long begin, long end, long __result)

Unsafe version of: getRange

public static native void
nclang_getRangeEnd(long range, long __functionAddress, long __result)

Unsafe version of: getRangeEnd

public static void
nclang_getRangeEnd(long range, long __result)

Unsafe version of: getRangeEnd

public static native void
nclang_getRangeStart(long range, long __functionAddress, long __result)

Unsafe version of: getRangeStart

public static void
nclang_getRangeStart(long range, long __result)

Unsafe version of: getRangeStart

public static long
nclang_getRemappings(long path)

Unsafe version of: getRemappings

public static long
nclang_getRemappingsFromFileList(long filePaths, int
number of file paths
numFiles
)

Unsafe version of: getRemappingsFromFileList

public static native void
nclang_getResultType(long T, long __functionAddress, long __result)

Unsafe version of: getResultType

public static void
nclang_getResultType(long T, long __result)

Unsafe version of: getResultType

public static long
nclang_getSkippedRanges(long tu, long file)

Unsafe version of: getSkippedRanges

public static native void
nclang_getSpecializedCursorTemplate(long C, long __functionAddress, long __result)

Unsafe version of: getSpecializedCursorTemplate

public static void
nclang_getSpecializedCursorTemplate(long C, long __result)

Unsafe version of: getSpecializedCursorTemplate

public static native void
nclang_getSpellingLocation(long location, long file, long line, long column, long offset, long __functionAddress)

Unsafe version of: getSpellingLocation

public static void
nclang_getSpellingLocation(long location, long file, long line, long column, long offset)

Unsafe version of: getSpellingLocation

public static native int
nclang_getTemplateCursorKind(long C, long __functionAddress)

Unsafe version of: getTemplateCursorKind

public static int
public static native long
nclang_getToken(long TU, long Location, long __functionAddress)

Unsafe version of: getToken

public static long
nclang_getToken(long TU, long Location)

Unsafe version of: getToken

public static native void
nclang_getTokenExtent(long TU, long token, long __functionAddress, long __result)

Unsafe version of: getTokenExtent

public static void
nclang_getTokenExtent(long TU, long token, long __result)

Unsafe version of: getTokenExtent

public static native int
nclang_getTokenKind(long token, long __functionAddress)

Unsafe version of: getTokenKind

public static int
nclang_getTokenKind(long token)

Unsafe version of: getTokenKind

public static native void
nclang_getTokenLocation(long TU, long token, long __functionAddress, long __result)

Unsafe version of: getTokenLocation

public static void
nclang_getTokenLocation(long TU, long token, long __result)

Unsafe version of: getTokenLocation

public static native void
nclang_getTokenSpelling(long TU, long token, long __functionAddress, long __result)

Unsafe version of: getTokenSpelling

public static void
nclang_getTokenSpelling(long TU, long token, long __result)

Unsafe version of: getTokenSpelling

public static native void
nclang_getTranslationUnitCursor(long TU, long __functionAddress, long __result)

Unsafe version of: getTranslationUnitCursor

public static void
nclang_getTranslationUnitCursor(long TU, long __result)

Unsafe version of: getTranslationUnitCursor

public static native void
nclang_getTranslationUnitSpelling(long CTUnit, long __functionAddress, long __result)

Unsafe version of: getTranslationUnitSpelling

public static void
nclang_getTranslationUnitSpelling(long CTUnit, long __result)

Unsafe version of: getTranslationUnitSpelling

public static long
public static native void
nclang_getTypeDeclaration(long T, long __functionAddress, long __result)

Unsafe version of: getTypeDeclaration

public static void
nclang_getTypeDeclaration(long T, long __result)

Unsafe version of: getTypeDeclaration

public static native void
nclang_getTypedefDeclUnderlyingType(long C, long __functionAddress, long __result)

Unsafe version of: getTypedefDeclUnderlyingType

public static void
nclang_getTypedefDeclUnderlyingType(long C, long __result)

Unsafe version of: getTypedefDeclUnderlyingType

public static native void
nclang_getTypedefName(long CT, long __functionAddress, long __result)

Unsafe version of: getTypedefName

public static void
nclang_getTypedefName(long CT, long __result)

Unsafe version of: getTypedefName

public static native void
nclang_getTypeKindSpelling(int K, long __functionAddress, long __result)

Unsafe version of: getTypeKindSpelling

public static void
nclang_getTypeKindSpelling(int K, long __result)

Unsafe version of: getTypeKindSpelling

public static native void
nclang_getTypeSpelling(long CT, long __functionAddress, long __result)

Unsafe version of: getTypeSpelling

public static void
nclang_getTypeSpelling(long CT, long __result)

Unsafe version of: getTypeSpelling

public static native void
nclang_getUnqualifiedType(long CT, long __functionAddress, long __result)

Unsafe version of: getUnqualifiedType

public static void
nclang_getUnqualifiedType(long CT, long __result)

Unsafe version of: getUnqualifiedType

public static native int
nclang_hashCursor(long cursor, long __functionAddress)

Unsafe version of: hashCursor

public static int
nclang_hashCursor(long cursor)

Unsafe version of: hashCursor

public static long
public static long
public static long
public static long
public static long
public static long
public static long
public static long
public static long
public static void
nclang_index_setClientContainer(long info, long container)

Unsafe version of: index_setClientContainer

public static void
nclang_index_setClientEntity(long info, long entity)

Unsafe version of: index_setClientEntity

public static native void
nclang_indexLoc_getCXSourceLocation(long loc, long __functionAddress, long __result)

Unsafe version of: indexLoc_getCXSourceLocation

public static void
nclang_indexLoc_getCXSourceLocation(long loc, long __result)

Unsafe version of: indexLoc_getCXSourceLocation

public static native void
nclang_indexLoc_getFileLocation(long loc, long indexFile, long file, long line, long column, long offset, long __functionAddress)

Unsafe version of: indexLoc_getFileLocation

public static void
nclang_indexLoc_getFileLocation(long loc, long indexFile, long file, long line, long column, long offset)

Unsafe version of: indexLoc_getFileLocation

public static int
nclang_indexSourceFile(long action, long client_data, long index_callbacks, int index_callbacks_size, int index_options, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, long out_TU, int TU_options)

Unsafe version of: indexSourceFile

public static int
nclang_indexSourceFileFullArgv(long action, long client_data, long index_callbacks, int index_callbacks_size, int index_options, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, long out_TU, int TU_options)

Unsafe version of: indexSourceFileFullArgv

public static int
nclang_indexTranslationUnit(long action, long client_data, long index_callbacks, int index_callbacks_size, int index_options, long TU)

Unsafe version of: indexTranslationUnit

public static native int
nclang_isConstQualifiedType(long T, long __functionAddress)

Unsafe version of: isConstQualifiedType

public static int
public static native int
nclang_isCursorDefinition(long cursor, long __functionAddress)

Unsafe version of: isCursorDefinition

public static int
nclang_isCursorDefinition(long cursor)

Unsafe version of: isCursorDefinition

public static native int
nclang_isFunctionTypeVariadic(long T, long __functionAddress)

Unsafe version of: isFunctionTypeVariadic

public static int
public static native int
nclang_isInvalidDeclaration(long cursor, long __functionAddress)

Unsafe version of: isInvalidDeclaration

public static int
nclang_isInvalidDeclaration(long cursor)

Unsafe version of: isInvalidDeclaration

public static native int
nclang_isPODType(long T, long __functionAddress)

Unsafe version of: isPODType

public static int
nclang_isPODType(long T)

Unsafe version of: isPODType

public static native int
nclang_isRestrictQualifiedType(long T, long __functionAddress)

Unsafe version of: isRestrictQualifiedType

public static int
public static native int
nclang_isVirtualBase(long cursor, long __functionAddress)

Unsafe version of: isVirtualBase

public static int
nclang_isVirtualBase(long cursor)

Unsafe version of: isVirtualBase

public static native int
nclang_isVolatileQualifiedType(long T, long __functionAddress)

Unsafe version of: isVolatileQualifiedType

public static int
public static long
nclang_loadDiagnostics(long file, long error, long errorString)

Unsafe version of: loadDiagnostics

public static native int
nclang_Location_isFromMainFile(long location, long __functionAddress)

Unsafe version of: Location_isFromMainFile

public static int
public static native int
nclang_Location_isInSystemHeader(long location, long __functionAddress)

Unsafe version of: Location_isInSystemHeader

public static int
public static native void
nclang_Module_getFullName(long Module, long __functionAddress, long __result)

Unsafe version of: Module_getFullName

public static void
nclang_Module_getFullName(long Module, long __result)

Unsafe version of: Module_getFullName

public static native void
nclang_Module_getName(long Module, long __functionAddress, long __result)

Unsafe version of: Module_getName

public static void
nclang_Module_getName(long Module, long __result)

Unsafe version of: Module_getName

public static long
nclang_parseTranslationUnit(long CIdx, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, int options)

Unsafe version of: parseTranslationUnit

public static int
nclang_parseTranslationUnit2(long CIdx, long source_filename, long command_line_args, int
the number of command-line arguments in command_line_args
num_command_line_args
,
long unsaved_files, int
the number of unsaved file entries in unsaved_files
num_unsaved_files
,
int options, long out_TU)

Unsafe version of: parseTranslationUnit2

public static int
nclang_parseTranslationUnit2FullArgv(long CIdx, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, int options, long out_TU)

Unsafe version of: parseTranslationUnit2FullArgv

public static native int
nclang_Range_isNull(long range, long __functionAddress)

Unsafe version of: Range_isNull

public static int
nclang_Range_isNull(long range)

Unsafe version of: Range_isNull

public static void
nclang_remap_getFilenames(long Remapping, int index, long original, long transformed)

Unsafe version of: remap_getFilenames

public static int
nclang_reparseTranslationUnit(long TU, int
the number of unsaved file entries in unsaved_files
num_unsaved_files
,
long unsaved_files, int options)

Unsafe version of: reparseTranslationUnit

public static int
nclang_saveTranslationUnit(long TU, long FileName, int options)

Unsafe version of: saveTranslationUnit

public static void
nclang_sortCodeCompletionResults(long Results, int
the number of results in Results
NumResults
)

Unsafe version of: sortCodeCompletionResults

public static native void
nclang_TargetInfo_getTriple(long Info, long __functionAddress, long __result)

Unsafe version of: TargetInfo_getTriple

public static void
nclang_TargetInfo_getTriple(long Info, long __result)

Unsafe version of: TargetInfo_getTriple

public static native void
nclang_tokenize(long TU, long Range, long Tokens, long NumTokens, long __functionAddress)

Unsafe version of: tokenize

public static void
nclang_tokenize(long TU, long Range, long Tokens, long NumTokens)

Unsafe version of: tokenize

public static native long
nclang_Type_getAlignOf(long T, long __functionAddress)

Unsafe version of: Type_getAlignOf

public static long
nclang_Type_getAlignOf(long T)

Unsafe version of: Type_getAlignOf

public static native void
nclang_Type_getClassType(long T, long __functionAddress, long __result)

Unsafe version of: Type_getClassType

public static void
nclang_Type_getClassType(long T, long __result)

Unsafe version of: Type_getClassType

public static native int
nclang_Type_getCXXRefQualifier(long T, long __functionAddress)

Unsafe version of: Type_getCXXRefQualifier

public static int
public static native void
nclang_Type_getModifiedType(long T, long __functionAddress, long __result)

Unsafe version of: Type_getModifiedType

public static void
nclang_Type_getModifiedType(long T, long __result)

Unsafe version of: Type_getModifiedType

public static native void
nclang_Type_getNamedType(long T, long __functionAddress, long __result)

Unsafe version of: Type_getNamedType

public static void
nclang_Type_getNamedType(long T, long __result)

Unsafe version of: Type_getNamedType

public static native int
nclang_Type_getNullability(long T, long __functionAddress)

Unsafe version of: Type_getNullability

public static int
public static native int
nclang_Type_getNumObjCProtocolRefs(long T, long __functionAddress)

Unsafe version of: Type_getNumObjCProtocolRefs

public static int
public static native int
nclang_Type_getNumObjCTypeArgs(long T, long __functionAddress)

Unsafe version of: Type_getNumObjCTypeArgs

public static int
public static native int
nclang_Type_getNumTemplateArguments(long T, long __functionAddress)

Unsafe version of: Type_getNumTemplateArguments

public static int
public static native void
nclang_Type_getObjCEncoding(long type, long __functionAddress, long __result)

Unsafe version of: Type_getObjCEncoding

public static void
nclang_Type_getObjCEncoding(long type, long __result)

Unsafe version of: Type_getObjCEncoding

public static native void
nclang_Type_getObjCObjectBaseType(long T, long __functionAddress, long __result)

Unsafe version of: Type_getObjCObjectBaseType

public static void
nclang_Type_getObjCObjectBaseType(long T, long __result)

Unsafe version of: Type_getObjCObjectBaseType

public static native void
nclang_Type_getObjCProtocolDecl(long T, int i, long __functionAddress, long __result)

Unsafe version of: Type_getObjCProtocolDecl

public static void
nclang_Type_getObjCProtocolDecl(long T, int i, long __result)

Unsafe version of: Type_getObjCProtocolDecl

public static native void
nclang_Type_getObjCTypeArg(long T, int i, long __functionAddress, long __result)

Unsafe version of: Type_getObjCTypeArg

public static void
nclang_Type_getObjCTypeArg(long T, int i, long __result)

Unsafe version of: Type_getObjCTypeArg

public static native long
nclang_Type_getOffsetOf(long T, long S, long __functionAddress)

Unsafe version of: Type_getOffsetOf

public static long
nclang_Type_getOffsetOf(long T, long S)

Unsafe version of: Type_getOffsetOf

public static native long
nclang_Type_getSizeOf(long T, long __functionAddress)

Unsafe version of: Type_getSizeOf

public static long
nclang_Type_getSizeOf(long T)

Unsafe version of: Type_getSizeOf

public static native void
nclang_Type_getTemplateArgumentAsType(long T, int i, long __functionAddress, long __result)

Unsafe version of: Type_getTemplateArgumentAsType

public static void
nclang_Type_getTemplateArgumentAsType(long T, int i, long __result)

Unsafe version of: Type_getTemplateArgumentAsType

public static native void
nclang_Type_getValueType(long CT, long __functionAddress, long __result)

Unsafe version of: Type_getValueType

public static void
nclang_Type_getValueType(long CT, long __result)

Unsafe version of: Type_getValueType

public static native int
nclang_Type_isTransparentTagTypedef(long T, long __functionAddress)

Unsafe version of: Type_isTransparentTagTypedef

public static int
public static native int
nclang_Type_visitFields(long T, long visitor, long client_data, long __functionAddress)

Unsafe version of: Type_visitFields

public static int
nclang_Type_visitFields(long T, long visitor, long client_data)

Unsafe version of: Type_visitFields

public static native int
nclang_visitChildren(long parent, long visitor, long client_data, long __functionAddress)

Unsafe version of: visitChildren

public static int
nclang_visitChildren(long parent, long visitor, long client_data)

Unsafe version of: visitChildren

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait