public class clang extends clang
Modifier and Type | Class and Description |
---|---|
static class |
clang.CXTUResourceUsageKind |
Modifier and Type | Field and Description |
---|---|
static int |
CINDEX_VERSION |
static int |
CINDEX_VERSION_MAJOR
The version constants for the libclang API.
|
static int |
CINDEX_VERSION_MINOR |
static int |
CX_CXXInvalidAccessSpecifier
enum CX_CXXAccessSpecifier
|
static int |
CX_CXXPrivate
enum CX_CXXAccessSpecifier
|
static int |
CX_CXXProtected
enum CX_CXXAccessSpecifier
|
static int |
CX_CXXPublic
enum CX_CXXAccessSpecifier
|
static int |
CX_SC_Auto
enum CX_StorageClass
|
static int |
CX_SC_Extern
enum CX_StorageClass
|
static int |
CX_SC_Invalid
enum CX_StorageClass
|
static int |
CX_SC_None
enum CX_StorageClass
|
static int |
CX_SC_OpenCLWorkGroupLocal
enum CX_StorageClass
|
static int |
CX_SC_PrivateExtern
enum CX_StorageClass
|
static int |
CX_SC_Register
enum CX_StorageClass
|
static int |
CX_SC_Static
enum CX_StorageClass
|
static int |
CXAvailability_Available
enum CXAvailabilityKind
|
static int |
CXAvailability_Deprecated
enum CXAvailabilityKind
|
static int |
CXAvailability_NotAccessible
enum CXAvailabilityKind
|
static int |
CXAvailability_NotAvailable
enum CXAvailabilityKind
|
static int |
CXBinaryOperator_Add
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_AddAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_And
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_AndAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Assign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Cmp
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Comma
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Div
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_DivAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_EQ
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_GE
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_GT
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Invalid
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_LAnd
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_LE
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_LOr
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_LT
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Mul
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_MulAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_NE
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Or
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_OrAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_PtrMemD
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_PtrMemI
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Rem
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_RemAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Shl
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_ShlAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Shr
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_ShrAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Sub
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_SubAssign
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_Xor
enum CXBinaryOperatorKind
|
static int |
CXBinaryOperator_XorAssign
enum CXBinaryOperatorKind
|
static int |
CXCallingConv_AAPCS
enum CXCallingConv
|
static int |
CXCallingConv_AAPCS_VFP
enum CXCallingConv
|
static int |
CXCallingConv_AArch64SVEPCS
enum CXCallingConv
|
static int |
CXCallingConv_AArch64VectorCall
enum CXCallingConv
|
static int |
CXCallingConv_C
enum CXCallingConv
|
static int |
CXCallingConv_Default
enum CXCallingConv
|
static int |
CXCallingConv_IntelOclBicc
enum CXCallingConv
|
static int |
CXCallingConv_Invalid
enum CXCallingConv
|
static int |
CXCallingConv_PreserveAll
enum CXCallingConv
|
static int |
CXCallingConv_PreserveMost
enum CXCallingConv
|
static int |
CXCallingConv_Swift
enum CXCallingConv
|
static int |
CXCallingConv_SwiftAsync
enum CXCallingConv
|
static int |
CXCallingConv_Unexposed
enum CXCallingConv
|
static int |
CXCallingConv_Win64
enum CXCallingConv
|
static int |
CXCallingConv_X86_64SysV
enum CXCallingConv
|
static int |
CXCallingConv_X86_64Win64
enum CXCallingConv
|
static int |
CXCallingConv_X86FastCall
enum CXCallingConv
|
static int |
CXCallingConv_X86Pascal
enum CXCallingConv
|
static int |
CXCallingConv_X86RegCall
enum CXCallingConv
|
static int |
CXCallingConv_X86StdCall
enum CXCallingConv
|
static int |
CXCallingConv_X86ThisCall
enum CXCallingConv
|
static int |
CXCallingConv_X86VectorCall
enum CXCallingConv
|
static int |
CXChildVisit_Break
enum CXChildVisitResult
|
static int |
CXChildVisit_Continue
enum CXChildVisitResult
|
static int |
CXChildVisit_Recurse
enum CXChildVisitResult
|
static int |
CXChoice_Default
enum CXChoice
|
static int |
CXChoice_Disabled
enum CXChoice
|
static int |
CXChoice_Enabled
enum CXChoice
|
static int |
CXCodeComplete_IncludeBriefComments
enum CXCodeComplete_Flags
|
static int |
CXCodeComplete_IncludeCodePatterns
enum CXCodeComplete_Flags
|
static int |
CXCodeComplete_IncludeCompletionsWithFixIts
enum CXCodeComplete_Flags
|
static int |
CXCodeComplete_IncludeMacros
enum CXCodeComplete_Flags
|
static int |
CXCodeComplete_SkipPreamble
enum CXCodeComplete_Flags
|
static int |
CXComment_BlockCommand
enum CXCommentKind
|
static int |
CXComment_FullComment
enum CXCommentKind
|
static int |
CXComment_HTMLEndTag
enum CXCommentKind
|
static int |
CXComment_HTMLStartTag
enum CXCommentKind
|
static int |
CXComment_InlineCommand
enum CXCommentKind
|
static int |
CXComment_Null
enum CXCommentKind
|
static int |
CXComment_Paragraph
enum CXCommentKind
|
static int |
CXComment_ParamCommand
enum CXCommentKind
|
static int |
CXComment_Text
enum CXCommentKind
|
static int |
CXComment_TParamCommand
enum CXCommentKind
|
static int |
CXComment_VerbatimBlockCommand
enum CXCommentKind
|
static int |
CXComment_VerbatimBlockLine
enum CXCommentKind
|
static int |
CXComment_VerbatimLine
enum CXCommentKind
|
static int |
CXCommentInlineCommandRenderKind_Anchor
enum CXCommentInlineCommandRenderKind
|
static int |
CXCommentInlineCommandRenderKind_Bold
enum CXCommentInlineCommandRenderKind
|
static int |
CXCommentInlineCommandRenderKind_Emphasized
enum CXCommentInlineCommandRenderKind
|
static int |
CXCommentInlineCommandRenderKind_Monospaced
enum CXCommentInlineCommandRenderKind
|
static int |
CXCommentInlineCommandRenderKind_Normal
enum CXCommentInlineCommandRenderKind
|
static int |
CXCommentParamPassDirection_In
enum CXCommentParamPassDirection
|
static int |
CXCommentParamPassDirection_InOut
enum CXCommentParamPassDirection
|
static int |
CXCommentParamPassDirection_Out
enum CXCommentParamPassDirection
|
static int |
CXCompilationDatabase_CanNotLoadDatabase
enum CXCompilationDatabase_Error
|
static int |
CXCompilationDatabase_NoError
enum CXCompilationDatabase_Error
|
static int |
CXCompletionChunk_Colon
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_Comma
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_CurrentParameter
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_Equal
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_HorizontalSpace
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_Informative
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_LeftAngle
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_LeftBrace
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_LeftBracket
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_LeftParen
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_Optional
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_Placeholder
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_ResultType
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_RightAngle
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_RightBrace
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_RightBracket
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_RightParen
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_SemiColon
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_Text
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_TypedText
enum CXCompletionChunkKind
|
static int |
CXCompletionChunk_VerticalSpace
enum CXCompletionChunkKind
|
static int |
CXCompletionContext_AnyType
enum CXCompletionContext
|
static int |
CXCompletionContext_AnyValue
enum CXCompletionContext
|
static int |
CXCompletionContext_ArrowMemberAccess
enum CXCompletionContext
|
static int |
CXCompletionContext_ClassTag
enum CXCompletionContext
|
static int |
CXCompletionContext_CXXClassTypeValue
enum CXCompletionContext
|
static int |
CXCompletionContext_DotMemberAccess
enum CXCompletionContext
|
static int |
CXCompletionContext_EnumTag
enum CXCompletionContext
|
static int |
CXCompletionContext_IncludedFile
enum CXCompletionContext
|
static int |
CXCompletionContext_MacroName
enum CXCompletionContext
|
static int |
CXCompletionContext_Namespace
enum CXCompletionContext
|
static int |
CXCompletionContext_NaturalLanguage
enum CXCompletionContext
|
static int |
CXCompletionContext_NestedNameSpecifier
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCCategory
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCClassMessage
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCInstanceMessage
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCInterface
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCObjectValue
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCPropertyAccess
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCProtocol
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCSelectorName
enum CXCompletionContext
|
static int |
CXCompletionContext_ObjCSelectorValue
enum CXCompletionContext
|
static int |
CXCompletionContext_StructTag
enum CXCompletionContext
|
static int |
CXCompletionContext_Unexposed
enum CXCompletionContext
|
static int |
CXCompletionContext_UnionTag
enum CXCompletionContext
|
static int |
CXCompletionContext_Unknown
enum CXCompletionContext
|
static int |
CXCursor_AddrLabelExpr
enum CXCursorKind
|
static int |
CXCursor_AlignedAttr
enum CXCursorKind
|
static int |
CXCursor_AnnotateAttr
enum CXCursorKind
|
static int |
CXCursor_ArraySubscriptExpr
enum CXCursorKind
|
static int |
CXCursor_AsmLabelAttr
enum CXCursorKind
|
static int |
CXCursor_AsmStmt
enum CXCursorKind
|
static int |
CXCursor_BinaryOperator
enum CXCursorKind
|
static int |
CXCursor_BlockExpr
enum CXCursorKind
|
static int |
CXCursor_BreakStmt
enum CXCursorKind
|
static int |
CXCursor_BuiltinBitCastExpr
enum CXCursorKind
|
static int |
CXCursor_CallExpr
enum CXCursorKind
|
static int |
CXCursor_CaseStmt
enum CXCursorKind
|
static int |
CXCursor_CharacterLiteral
enum CXCursorKind
|
static int |
CXCursor_ClassDecl
enum CXCursorKind
|
static int |
CXCursor_ClassTemplate
enum CXCursorKind
|
static int |
CXCursor_ClassTemplatePartialSpecialization
enum CXCursorKind
|
static int |
CXCursor_CompoundAssignOperator
enum CXCursorKind
|
static int |
CXCursor_CompoundLiteralExpr
enum CXCursorKind
|
static int |
CXCursor_CompoundStmt
enum CXCursorKind
|
static int |
CXCursor_ConceptDecl
enum CXCursorKind
|
static int |
CXCursor_ConceptSpecializationExpr
enum CXCursorKind
|
static int |
CXCursor_ConditionalOperator
enum CXCursorKind
|
static int |
CXCursor_ConstAttr
enum CXCursorKind
|
static int |
CXCursor_Constructor
enum CXCursorKind
|
static int |
CXCursor_ContinueStmt
enum CXCursorKind
|
static int |
CXCursor_ConvergentAttr
enum CXCursorKind
|
static int |
CXCursor_ConversionFunction
enum CXCursorKind
|
static int |
CXCursor_CStyleCastExpr
enum CXCursorKind
|
static int |
CXCursor_CUDAConstantAttr
enum CXCursorKind
|
static int |
CXCursor_CUDADeviceAttr
enum CXCursorKind
|
static int |
CXCursor_CUDAGlobalAttr
enum CXCursorKind
|
static int |
CXCursor_CUDAHostAttr
enum CXCursorKind
|
static int |
CXCursor_CUDASharedAttr
enum CXCursorKind
|
static int |
CXCursor_CXXAccessSpecifier
enum CXCursorKind
|
static int |
CXCursor_CXXAddrspaceCastExpr
enum CXCursorKind
|
static int |
CXCursor_CXXBaseSpecifier
enum CXCursorKind
|
static int |
CXCursor_CXXBoolLiteralExpr
enum CXCursorKind
|
static int |
CXCursor_CXXCatchStmt
enum CXCursorKind
|
static int |
CXCursor_CXXConstCastExpr
enum CXCursorKind
|
static int |
CXCursor_CXXDeleteExpr
enum CXCursorKind
|
static int |
CXCursor_CXXDynamicCastExpr
enum CXCursorKind
|
static int |
CXCursor_CXXFinalAttr
enum CXCursorKind
|
static int |
CXCursor_CXXForRangeStmt
enum CXCursorKind
|
static int |
CXCursor_CXXFunctionalCastExpr
enum CXCursorKind
|
static int |
CXCursor_CXXMethod
enum CXCursorKind
|
static int |
CXCursor_CXXNewExpr
enum CXCursorKind
|
static int |
CXCursor_CXXNullPtrLiteralExpr
enum CXCursorKind
|
static int |
CXCursor_CXXOverrideAttr
enum CXCursorKind
|
static int |
CXCursor_CXXParenListInitExpr
enum CXCursorKind
|
static int |
CXCursor_CXXReinterpretCastExpr
enum CXCursorKind
|
static int |
CXCursor_CXXStaticCastExpr
enum CXCursorKind
|
static int |
CXCursor_CXXThisExpr
enum CXCursorKind
|
static int |
CXCursor_CXXThrowExpr
enum CXCursorKind
|
static int |
CXCursor_CXXTryStmt
enum CXCursorKind
|
static int |
CXCursor_CXXTypeidExpr
enum CXCursorKind
|
static int |
CXCursor_DeclRefExpr
enum CXCursorKind
|
static int |
CXCursor_DeclStmt
enum CXCursorKind
|
static int |
CXCursor_DefaultStmt
enum CXCursorKind
|
static int |
CXCursor_Destructor
enum CXCursorKind
|
static int |
CXCursor_DLLExport
enum CXCursorKind
|
static int |
CXCursor_DLLImport
enum CXCursorKind
|
static int |
CXCursor_DoStmt
enum CXCursorKind
|
static int |
CXCursor_EnumConstantDecl
enum CXCursorKind
|
static int |
CXCursor_EnumDecl
enum CXCursorKind
|
static int |
CXCursor_ExceptionSpecificationKind_BasicNoexcept
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_ComputedNoexcept
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_Dynamic
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_DynamicNone
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_MSAny
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_None
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_NoThrow
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_Unevaluated
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_Uninstantiated
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_ExceptionSpecificationKind_Unparsed
enum CXCursor_ExceptionSpecificationKind
|
static int |
CXCursor_FieldDecl
enum CXCursorKind
|
static int |
CXCursor_FirstAttr
enum CXCursorKind
|
static int |
CXCursor_FirstDecl
enum CXCursorKind
|
static int |
CXCursor_FirstExpr
enum CXCursorKind
|
static int |
CXCursor_FirstExtraDecl
enum CXCursorKind
|
static int |
CXCursor_FirstInvalid
enum CXCursorKind
|
static int |
CXCursor_FirstPreprocessing
enum CXCursorKind
|
static int |
CXCursor_FirstRef
enum CXCursorKind
|
static int |
CXCursor_FirstStmt
enum CXCursorKind
|
static int |
CXCursor_FixedPointLiteral
enum CXCursorKind
|
static int |
CXCursor_FlagEnum
enum CXCursorKind
|
static int |
CXCursor_FloatingLiteral
enum CXCursorKind
|
static int |
CXCursor_ForStmt
enum CXCursorKind
|
static int |
CXCursor_FriendDecl
enum CXCursorKind
|
static int |
CXCursor_FunctionDecl
enum CXCursorKind
|
static int |
CXCursor_FunctionTemplate
enum CXCursorKind
|
static int |
CXCursor_GCCAsmStmt
enum CXCursorKind
|
static int |
CXCursor_GenericSelectionExpr
enum CXCursorKind
|
static int |
CXCursor_GNUNullExpr
enum CXCursorKind
|
static int |
CXCursor_GotoStmt
enum CXCursorKind
|
static int |
CXCursor_IBActionAttr
enum CXCursorKind
|
static int |
CXCursor_IBOutletAttr
enum CXCursorKind
|
static int |
CXCursor_IBOutletCollectionAttr
enum CXCursorKind
|
static int |
CXCursor_IfStmt
enum CXCursorKind
|
static int |
CXCursor_ImaginaryLiteral
enum CXCursorKind
|
static int |
CXCursor_InclusionDirective
enum CXCursorKind
|
static int |
CXCursor_IndirectGotoStmt
enum CXCursorKind
|
static int |
CXCursor_InitListExpr
enum CXCursorKind
|
static int |
CXCursor_IntegerLiteral
enum CXCursorKind
|
static int |
CXCursor_InvalidCode
enum CXCursorKind
|
static int |
CXCursor_InvalidFile
enum CXCursorKind
|
static int |
CXCursor_LabelRef
enum CXCursorKind
|
static int |
CXCursor_LabelStmt
enum CXCursorKind
|
static int |
CXCursor_LambdaExpr
enum CXCursorKind
|
static int |
CXCursor_LastAttr
enum CXCursorKind
|
static int |
CXCursor_LastDecl
enum CXCursorKind
|
static int |
CXCursor_LastExpr
enum CXCursorKind
|
static int |
CXCursor_LastExtraDecl
enum CXCursorKind
|
static int |
CXCursor_LastInvalid
enum CXCursorKind
|
static int |
CXCursor_LastPreprocessing
enum CXCursorKind
|
static int |
CXCursor_LastRef
enum CXCursorKind
|
static int |
CXCursor_LastStmt
enum CXCursorKind
|
static int |
CXCursor_LinkageSpec
enum CXCursorKind
|
static int |
CXCursor_MacroDefinition
enum CXCursorKind
|
static int |
CXCursor_MacroExpansion
enum CXCursorKind
|
static int |
CXCursor_MacroInstantiation
enum CXCursorKind
|
static int |
CXCursor_MemberRef
enum CXCursorKind
|
static int |
CXCursor_MemberRefExpr
enum CXCursorKind
|
static int |
CXCursor_ModuleImportDecl
enum CXCursorKind
|
static int |
CXCursor_MSAsmStmt
enum CXCursorKind
|
static int |
CXCursor_Namespace
enum CXCursorKind
|
static int |
CXCursor_NamespaceAlias
enum CXCursorKind
|
static int |
CXCursor_NamespaceRef
enum CXCursorKind
|
static int |
CXCursor_NoDeclFound
enum CXCursorKind
|
static int |
CXCursor_NoDuplicateAttr
enum CXCursorKind
|
static int |
CXCursor_NonTypeTemplateParameter
enum CXCursorKind
|
static int |
CXCursor_NotImplemented
enum CXCursorKind
|
static int |
CXCursor_NSConsumed
enum CXCursorKind
|
static int |
CXCursor_NSConsumesSelf
enum CXCursorKind
|
static int |
CXCursor_NSReturnsAutoreleased
enum CXCursorKind
|
static int |
CXCursor_NSReturnsNotRetained
enum CXCursorKind
|
static int |
CXCursor_NSReturnsRetained
enum CXCursorKind
|
static int |
CXCursor_NullStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAtCatchStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAtFinallyStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAtSynchronizedStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAtThrowStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAtTryStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAutoreleasePoolStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCAvailabilityCheckExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCBoolLiteralExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCBoxable
enum CXCursorKind
|
static int |
CXCursor_ObjCBridgedCastExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCCategoryDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCCategoryImplDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCClassMethodDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCClassRef
enum CXCursorKind
|
static int |
CXCursor_ObjCDesignatedInitializer
enum CXCursorKind
|
static int |
CXCursor_ObjCDynamicDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCEncodeExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCException
enum CXCursorKind
|
static int |
CXCursor_ObjCExplicitProtocolImpl
enum CXCursorKind
|
static int |
CXCursor_ObjCForCollectionStmt
enum CXCursorKind
|
static int |
CXCursor_ObjCImplementationDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCIndependentClass
enum CXCursorKind
|
static int |
CXCursor_ObjCInstanceMethodDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCInterfaceDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCIvarDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCMessageExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCNSObject
enum CXCursorKind
|
static int |
CXCursor_ObjCPreciseLifetime
enum CXCursorKind
|
static int |
CXCursor_ObjCPropertyDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCProtocolDecl
enum CXCursorKind
|
static int |
CXCursor_ObjCProtocolExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCProtocolRef
enum CXCursorKind
|
static int |
CXCursor_ObjCRequiresSuper
enum CXCursorKind
|
static int |
CXCursor_ObjCReturnsInnerPointer
enum CXCursorKind
|
static int |
CXCursor_ObjCRootClass
enum CXCursorKind
|
static int |
CXCursor_ObjCRuntimeVisible
enum CXCursorKind
|
static int |
CXCursor_ObjCSelectorExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCSelfExpr
enum CXCursorKind
|
static int |
CXCursor_ObjCStringLiteral
enum CXCursorKind
|
static int |
CXCursor_ObjCSubclassingRestricted
enum CXCursorKind
|
static int |
CXCursor_ObjCSuperClassRef
enum CXCursorKind
|
static int |
CXCursor_ObjCSynthesizeDecl
enum CXCursorKind
|
static int |
CXCursor_OMPArraySectionExpr
enum CXCursorKind
|
static int |
CXCursor_OMPArrayShapingExpr
enum CXCursorKind
|
static int |
CXCursor_OMPAtomicDirective
enum CXCursorKind
|
static int |
CXCursor_OMPBarrierDirective
enum CXCursorKind
|
static int |
CXCursor_OMPCancelDirective
enum CXCursorKind
|
static int |
CXCursor_OMPCancellationPointDirective
enum CXCursorKind
|
static int |
CXCursor_OMPCanonicalLoop
enum CXCursorKind
|
static int |
CXCursor_OMPCriticalDirective
enum CXCursorKind
|
static int |
CXCursor_OMPDepobjDirective
enum CXCursorKind
|
static int |
CXCursor_OMPDispatchDirective
enum CXCursorKind
|
static int |
CXCursor_OMPDistributeDirective
enum CXCursorKind
|
static int |
CXCursor_OMPDistributeParallelForDirective
enum CXCursorKind
|
static int |
CXCursor_OMPDistributeParallelForSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPDistributeSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPErrorDirective
enum CXCursorKind
|
static int |
CXCursor_OMPFlushDirective
enum CXCursorKind
|
static int |
CXCursor_OMPForDirective
enum CXCursorKind
|
static int |
CXCursor_OMPForSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPGenericLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPInteropDirective
enum CXCursorKind
|
static int |
CXCursor_OMPIteratorExpr
enum CXCursorKind
|
static int |
CXCursor_OMPMaskedDirective
enum CXCursorKind
|
static int |
CXCursor_OMPMaskedTaskLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPMaskedTaskLoopSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPMasterDirective
enum CXCursorKind
|
static int |
CXCursor_OMPMasterTaskLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPMasterTaskLoopSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPMetaDirective
enum CXCursorKind
|
static int |
CXCursor_OMPOrderedDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelForDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelForSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelGenericLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelMaskedDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelMaskedTaskLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelMaskedTaskLoopSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelMasterDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelMasterTaskLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelMasterTaskLoopSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPParallelSectionsDirective
enum CXCursorKind
|
static int |
CXCursor_OMPScanDirective
enum CXCursorKind
|
static int |
CXCursor_OMPSectionDirective
enum CXCursorKind
|
static int |
CXCursor_OMPSectionsDirective
enum CXCursorKind
|
static int |
CXCursor_OMPSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPSingleDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetDataDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetEnterDataDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetExitDataDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetParallelDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetParallelForDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetParallelForSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetParallelGenericLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetTeamsDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetTeamsDistributeDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetTeamsDistributeParallelForDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetTeamsDistributeParallelForSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetTeamsDistributeSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetTeamsGenericLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTargetUpdateDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTaskDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTaskgroupDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTaskLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTaskLoopSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTaskwaitDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTaskyieldDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTeamsDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTeamsDistributeDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTeamsDistributeParallelForDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTeamsDistributeParallelForSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTeamsDistributeSimdDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTeamsGenericLoopDirective
enum CXCursorKind
|
static int |
CXCursor_OMPTileDirective
enum CXCursorKind
|
static int |
CXCursor_OMPUnrollDirective
enum CXCursorKind
|
static int |
CXCursor_OverloadCandidate
enum CXCursorKind
|
static int |
CXCursor_OverloadedDeclRef
enum CXCursorKind
|
static int |
CXCursor_PackedAttr
enum CXCursorKind
|
static int |
CXCursor_PackExpansionExpr
enum CXCursorKind
|
static int |
CXCursor_ParenExpr
enum CXCursorKind
|
static int |
CXCursor_ParmDecl
enum CXCursorKind
|
static int |
CXCursor_PreprocessingDirective
enum CXCursorKind
|
static int |
CXCursor_PureAttr
enum CXCursorKind
|
static int |
CXCursor_RequiresExpr
enum CXCursorKind
|
static int |
CXCursor_ReturnStmt
enum CXCursorKind
|
static int |
CXCursor_SEHExceptStmt
enum CXCursorKind
|
static int |
CXCursor_SEHFinallyStmt
enum CXCursorKind
|
static int |
CXCursor_SEHLeaveStmt
enum CXCursorKind
|
static int |
CXCursor_SEHTryStmt
enum CXCursorKind
|
static int |
CXCursor_SizeOfPackExpr
enum CXCursorKind
|
static int |
CXCursor_StaticAssert
enum CXCursorKind
|
static int |
CXCursor_StmtExpr
enum CXCursorKind
|
static int |
CXCursor_StringLiteral
enum CXCursorKind
|
static int |
CXCursor_StructDecl
enum CXCursorKind
|
static int |
CXCursor_SwitchStmt
enum CXCursorKind
|
static int |
CXCursor_TemplateRef
enum CXCursorKind
|
static int |
CXCursor_TemplateTemplateParameter
enum CXCursorKind
|
static int |
CXCursor_TemplateTypeParameter
enum CXCursorKind
|
static int |
CXCursor_TranslationUnit
enum CXCursorKind
|
static int |
CXCursor_TypeAliasDecl
enum CXCursorKind
|
static int |
CXCursor_TypeAliasTemplateDecl
enum CXCursorKind
|
static int |
CXCursor_TypedefDecl
enum CXCursorKind
|
static int |
CXCursor_TypeRef
enum CXCursorKind
|
static int |
CXCursor_UnaryExpr
enum CXCursorKind
|
static int |
CXCursor_UnaryOperator
enum CXCursorKind
|
static int |
CXCursor_UnexposedAttr
enum CXCursorKind
|
static int |
CXCursor_UnexposedDecl
enum CXCursorKind
|
static int |
CXCursor_UnexposedExpr
enum CXCursorKind
|
static int |
CXCursor_UnexposedStmt
enum CXCursorKind
|
static int |
CXCursor_UnionDecl
enum CXCursorKind
|
static int |
CXCursor_UsingDeclaration
enum CXCursorKind
|
static int |
CXCursor_UsingDirective
enum CXCursorKind
|
static int |
CXCursor_VarDecl
enum CXCursorKind
|
static int |
CXCursor_VariableRef
enum CXCursorKind
|
static int |
CXCursor_VisibilityAttr
enum CXCursorKind
|
static int |
CXCursor_WarnUnusedAttr
enum CXCursorKind
|
static int |
CXCursor_WarnUnusedResultAttr
enum CXCursorKind
|
static int |
CXCursor_WhileStmt
enum CXCursorKind
|
static int |
CXDiagnostic_DisplayCategoryId
enum CXDiagnosticDisplayOptions
|
static int |
CXDiagnostic_DisplayCategoryName
enum CXDiagnosticDisplayOptions
|
static int |
CXDiagnostic_DisplayColumn
enum CXDiagnosticDisplayOptions
|
static int |
CXDiagnostic_DisplayOption
enum CXDiagnosticDisplayOptions
|
static int |
CXDiagnostic_DisplaySourceLocation
enum CXDiagnosticDisplayOptions
|
static int |
CXDiagnostic_DisplaySourceRanges
enum CXDiagnosticDisplayOptions
|
static int |
CXDiagnostic_Error
enum CXDiagnosticSeverity
|
static int |
CXDiagnostic_Fatal
enum CXDiagnosticSeverity
|
static int |
CXDiagnostic_Ignored
enum CXDiagnosticSeverity
|
static int |
CXDiagnostic_Note
enum CXDiagnosticSeverity
|
static int |
CXDiagnostic_Warning
enum CXDiagnosticSeverity
|
static int |
CXError_ASTReadError
enum CXErrorCode
|
static int |
CXError_Crashed
enum CXErrorCode
|
static int |
CXError_Failure
enum CXErrorCode
|
static int |
CXError_InvalidArguments
enum CXErrorCode
|
static int |
CXError_Success
enum CXErrorCode
|
static int |
CXEval_CFStr
enum CXEvalResultKind
|
static int |
CXEval_Float
enum CXEvalResultKind
|
static int |
CXEval_Int
enum CXEvalResultKind
|
static int |
CXEval_ObjCStrLiteral
enum CXEvalResultKind
|
static int |
CXEval_Other
enum CXEvalResultKind
|
static int |
CXEval_StrLiteral
enum CXEvalResultKind
|
static int |
CXEval_UnExposed
enum CXEvalResultKind
|
static int |
CXGlobalOpt_None
enum CXGlobalOptFlags
|
static int |
CXGlobalOpt_ThreadBackgroundPriorityForAll
enum CXGlobalOptFlags
|
static int |
CXGlobalOpt_ThreadBackgroundPriorityForEditing
enum CXGlobalOptFlags
|
static int |
CXGlobalOpt_ThreadBackgroundPriorityForIndexing
enum CXGlobalOptFlags
|
static int |
CXIdxAttr_IBAction
enum CXIdxAttrKind
|
static int |
CXIdxAttr_IBOutlet
enum CXIdxAttrKind
|
static int |
CXIdxAttr_IBOutletCollection
enum CXIdxAttrKind
|
static int |
CXIdxAttr_Unexposed
enum CXIdxAttrKind
|
static int |
CXIdxDeclFlag_Skipped
enum CXIdxDeclInfoFlags
|
static int |
CXIdxEntity_CXXClass
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXConcept
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXConstructor
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXConversionFunction
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXDestructor
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXInstanceMethod
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXInterface
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXNamespace
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXNamespaceAlias
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXStaticMethod
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXStaticVariable
enum CXIdxEntityKind
|
static int |
CXIdxEntity_CXXTypeAlias
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Enum
enum CXIdxEntityKind
|
static int |
CXIdxEntity_EnumConstant
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Field
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Function
enum CXIdxEntityKind
|
static int |
CXIdxEntity_NonTemplate
enum CXIdxEntityCXXTemplateKind
|
static int |
CXIdxEntity_ObjCCategory
enum CXIdxEntityKind
|
static int |
CXIdxEntity_ObjCClass
enum CXIdxEntityKind
|
static int |
CXIdxEntity_ObjCClassMethod
enum CXIdxEntityKind
|
static int |
CXIdxEntity_ObjCInstanceMethod
enum CXIdxEntityKind
|
static int |
CXIdxEntity_ObjCIvar
enum CXIdxEntityKind
|
static int |
CXIdxEntity_ObjCProperty
enum CXIdxEntityKind
|
static int |
CXIdxEntity_ObjCProtocol
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Struct
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Template
enum CXIdxEntityCXXTemplateKind
|
static int |
CXIdxEntity_TemplatePartialSpecialization
enum CXIdxEntityCXXTemplateKind
|
static int |
CXIdxEntity_TemplateSpecialization
enum CXIdxEntityCXXTemplateKind
|
static int |
CXIdxEntity_Typedef
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Unexposed
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Union
enum CXIdxEntityKind
|
static int |
CXIdxEntity_Variable
enum CXIdxEntityKind
|
static int |
CXIdxEntityLang_C
enum CXIdxEntityLanguage
|
static int |
CXIdxEntityLang_CXX
enum CXIdxEntityLanguage
|
static int |
CXIdxEntityLang_None
enum CXIdxEntityLanguage
|
static int |
CXIdxEntityLang_ObjC
enum CXIdxEntityLanguage
|
static int |
CXIdxEntityLang_Swift
enum CXIdxEntityLanguage
|
static int |
CXIdxEntityRef_Direct
enum CXIdxEntityRefKind
|
static int |
CXIdxEntityRef_Implicit
enum CXIdxEntityRefKind
|
static int |
CXIdxObjCContainer_ForwardRef
enum CXIdxObjCContainerKind
|
static int |
CXIdxObjCContainer_Implementation
enum CXIdxObjCContainerKind
|
static int |
CXIdxObjCContainer_Interface
enum CXIdxObjCContainerKind
|
static int |
CXIndexOpt_IndexFunctionLocalSymbols
enum CXIndexOptFlags
|
static int |
CXIndexOpt_IndexImplicitTemplateInstantiations
enum CXIndexOptFlags
|
static int |
CXIndexOpt_None
enum CXIndexOptFlags
|
static int |
CXIndexOpt_SkipParsedBodiesInSession
enum CXIndexOptFlags
|
static int |
CXIndexOpt_SuppressRedundantRefs
enum CXIndexOptFlags
|
static int |
CXIndexOpt_SuppressWarnings
enum CXIndexOptFlags
|
static int |
CXLanguage_C
enum CXLanguageKind
|
static int |
CXLanguage_CPlusPlus
enum CXLanguageKind
|
static int |
CXLanguage_Invalid
enum CXLanguageKind
|
static int |
CXLanguage_ObjC
enum CXLanguageKind
|
static int |
CXLinkage_External
enum CXLinkageKind
|
static int |
CXLinkage_Internal
enum CXLinkageKind
|
static int |
CXLinkage_Invalid
enum CXLinkageKind
|
static int |
CXLinkage_NoLinkage
enum CXLinkageKind
|
static int |
CXLinkage_UniqueExternal
enum CXLinkageKind
|
static int |
CXLoadDiag_CannotLoad
enum CXLoadDiag_Error
|
static int |
CXLoadDiag_InvalidFile
enum CXLoadDiag_Error
|
static int |
CXLoadDiag_None
enum CXLoadDiag_Error
|
static int |
CXLoadDiag_Unknown
enum CXLoadDiag_Error
|
static int |
CXNameRange_WantQualifier
enum CXNameRefFlags
|
static int |
CXNameRange_WantSinglePiece
enum CXNameRefFlags
|
static int |
CXNameRange_WantTemplateArgs
enum CXNameRefFlags
|
static int |
CXObjCDeclQualifier_Bycopy
enum CXObjCDeclQualifierKind
|
static int |
CXObjCDeclQualifier_Byref
enum CXObjCDeclQualifierKind
|
static int |
CXObjCDeclQualifier_In
enum CXObjCDeclQualifierKind
|
static int |
CXObjCDeclQualifier_Inout
enum CXObjCDeclQualifierKind
|
static int |
CXObjCDeclQualifier_None
enum CXObjCDeclQualifierKind
|
static int |
CXObjCDeclQualifier_Oneway
enum CXObjCDeclQualifierKind
|
static int |
CXObjCDeclQualifier_Out
enum CXObjCDeclQualifierKind
|
static int |
CXObjCPropertyAttr_assign
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_atomic
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_class
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_copy
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_getter
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_noattr
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_nonatomic
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_readonly
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_readwrite
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_retain
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_setter
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_strong
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_unsafe_unretained
enum CXObjCPropertyAttrKind
|
static int |
CXObjCPropertyAttr_weak
enum CXObjCPropertyAttrKind
|
static int |
CXPrintingPolicy_Alignof
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_AnonymousTagLocations
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_Bool
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_ConstantArraySizeAsWritten
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_ConstantsAsWritten
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_FullyQualifiedName
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_Half
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_IncludeNewlines
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_IncludeTagDefinition
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_Indentation
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_LastProperty
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_MSVCFormatting
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_MSWChar
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_PolishForDeclaration
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_Restrict
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressImplicitBase
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressInitializers
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressLifetimeQualifiers
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressScope
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressSpecifiers
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressStrongLifetime
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressTagKeyword
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_SuppressUnwrittenScope
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_TerseOutput
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_UnderscoreAlignof
enum CXPrintingPolicyProperty
|
static int |
CXPrintingPolicy_UseVoidForZeroParams
enum CXPrintingPolicyProperty
|
static int |
CXRefQualifier_LValue
enum CXRefQualifierKind
|
static int |
CXRefQualifier_None
enum CXRefQualifierKind
|
static int |
CXRefQualifier_RValue
enum CXRefQualifierKind
|
static int |
CXReparse_None
enum CXReparse_Flags
|
static int |
CXResult_Invalid
enum CXResult
|
static int |
CXResult_Success
enum CXResult
|
static int |
CXResult_VisitBreak
enum CXResult
|
static int |
CXSaveError_InvalidTU
enum CXSaveError
|
static int |
CXSaveError_None
enum CXSaveError
|
static int |
CXSaveError_TranslationErrors
enum CXSaveError
|
static int |
CXSaveError_Unknown
enum CXSaveError
|
static int |
CXSaveTranslationUnit_None
enum CXSaveTranslationUnit_Flags
|
static int |
CXSymbolRole_AddressOf
enum CXSymbolRole
|
static int |
CXSymbolRole_Call
enum CXSymbolRole
|
static int |
CXSymbolRole_Declaration
enum CXSymbolRole
|
static int |
CXSymbolRole_Definition
enum CXSymbolRole
|
static int |
CXSymbolRole_Dynamic
enum CXSymbolRole
|
static int |
CXSymbolRole_Implicit
enum CXSymbolRole
|
static int |
CXSymbolRole_None
enum CXSymbolRole
|
static int |
CXSymbolRole_Read
enum CXSymbolRole
|
static int |
CXSymbolRole_Reference
enum CXSymbolRole
|
static int |
CXSymbolRole_Write
enum CXSymbolRole
|
static int |
CXTemplateArgumentKind_Declaration
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Expression
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Integral
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Invalid
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Null
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_NullPtr
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Pack
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Template
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_TemplateExpansion
enum CXTemplateArgumentKind
|
static int |
CXTemplateArgumentKind_Type
enum CXTemplateArgumentKind
|
static int |
CXTLS_Dynamic
enum CXTLSKind
|
static int |
CXTLS_None
enum CXTLSKind
|
static int |
CXTLS_Static
enum CXTLSKind
|
static int |
CXToken_Comment
enum CXTokenKind
|
static int |
CXToken_Identifier
enum CXTokenKind
|
static int |
CXToken_Keyword
enum CXTokenKind
|
static int |
CXToken_Literal
enum CXTokenKind
|
static int |
CXToken_Punctuation
enum CXTokenKind
|
static int |
CXTranslationUnit_CacheCompletionResults
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_CreatePreambleOnFirstParse
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_CXXChainedPCH
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_DetailedPreprocessingRecord
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_ForSerialization
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_IncludeAttributedTypes
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_IncludeBriefCommentsInCodeCompletion
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_Incomplete
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_KeepGoing
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_LimitSkipFunctionBodiesToPreamble
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_None
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_PrecompiledPreamble
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_RetainExcludedConditionalBlocks
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_SingleFileParse
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_SkipFunctionBodies
enum CXTranslationUnit_Flags
|
static int |
CXTranslationUnit_VisitImplicitAttributes
enum CXTranslationUnit_Flags
|
static int |
CXTUResourceUsage_AST
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_AST_SideTables
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_ExternalASTSource_Membuffer_Malloc
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_ExternalASTSource_Membuffer_MMap
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_First
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_GlobalCompletionResults
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_Identifiers
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_Last
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_MEMORY_IN_BYTES_BEGIN
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_MEMORY_IN_BYTES_END
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_PreprocessingRecord
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_Preprocessor
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_Preprocessor_HeaderSearch
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_Selectors
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_SourceManager_DataStructures
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_SourceManager_Membuffer_Malloc
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_SourceManager_Membuffer_MMap
enum CXTUResourceUsageKind
|
static int |
CXTUResourceUsage_SourceManagerContentCache
enum CXTUResourceUsageKind
|
static int |
CXType_Accum
enum CXTypeKind
|
static int |
CXType_Atomic
enum CXTypeKind
|
static int |
CXType_Attributed
enum CXTypeKind
|
static int |
CXType_Auto
enum CXTypeKind
|
static int |
CXType_BFloat16
enum CXTypeKind
|
static int |
CXType_BlockPointer
enum CXTypeKind
|
static int |
CXType_Bool
enum CXTypeKind
|
static int |
CXType_BTFTagAttributed
enum CXTypeKind
|
static int |
CXType_Char_S
enum CXTypeKind
|
static int |
CXType_Char_U
enum CXTypeKind
|
static int |
CXType_Char16
enum CXTypeKind
|
static int |
CXType_Char32
enum CXTypeKind
|
static int |
CXType_Complex
enum CXTypeKind
|
static int |
CXType_ConstantArray
enum CXTypeKind
|
static int |
CXType_Dependent
enum CXTypeKind
|
static int |
CXType_DependentSizedArray
enum CXTypeKind
|
static int |
CXType_Double
enum CXTypeKind
|
static int |
CXType_Elaborated
enum CXTypeKind
|
static int |
CXType_Enum
enum CXTypeKind
|
static int |
CXType_ExtVector
enum CXTypeKind
|
static int |
CXType_FirstBuiltin
enum CXTypeKind
|
static int |
CXType_Float
enum CXTypeKind
|
static int |
CXType_Float128
enum CXTypeKind
|
static int |
CXType_Float16
enum CXTypeKind
|
static int |
CXType_FunctionNoProto
enum CXTypeKind
|
static int |
CXType_FunctionProto
enum CXTypeKind
|
static int |
CXType_Half
enum CXTypeKind
|
static int |
CXType_Ibm128
enum CXTypeKind
|
static int |
CXType_IncompleteArray
enum CXTypeKind
|
static int |
CXType_Int
enum CXTypeKind
|
static int |
CXType_Int128
enum CXTypeKind
|
static int |
CXType_Invalid
enum CXTypeKind
|
static int |
CXType_LastBuiltin
enum CXTypeKind
|
static int |
CXType_Long
enum CXTypeKind
|
static int |
CXType_LongAccum
enum CXTypeKind
|
static int |
CXType_LongDouble
enum CXTypeKind
|
static int |
CXType_LongLong
enum CXTypeKind
|
static int |
CXType_LValueReference
enum CXTypeKind
|
static int |
CXType_MemberPointer
enum CXTypeKind
|
static int |
CXType_NullPtr
enum CXTypeKind
|
static int |
CXType_ObjCClass
enum CXTypeKind
|
static int |
CXType_ObjCId
enum CXTypeKind
|
static int |
CXType_ObjCInterface
enum CXTypeKind
|
static int |
CXType_ObjCObject
enum CXTypeKind
|
static int |
CXType_ObjCObjectPointer
enum CXTypeKind
|
static int |
CXType_ObjCSel
enum CXTypeKind
|
static int |
CXType_ObjCTypeParam
enum CXTypeKind
|
static int |
CXType_OCLEvent
enum CXTypeKind
|
static int |
CXType_OCLImage1dArrayRO
enum CXTypeKind
|
static int |
CXType_OCLImage1dArrayRW
enum CXTypeKind
|
static int |
CXType_OCLImage1dArrayWO
enum CXTypeKind
|
static int |
CXType_OCLImage1dBufferRO
enum CXTypeKind
|
static int |
CXType_OCLImage1dBufferRW
enum CXTypeKind
|
static int |
CXType_OCLImage1dBufferWO
enum CXTypeKind
|
static int |
CXType_OCLImage1dRO
enum CXTypeKind
|
static int |
CXType_OCLImage1dRW
enum CXTypeKind
|
static int |
CXType_OCLImage1dWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayDepthRO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayDepthRW
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayDepthWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayMSAADepthRO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayMSAADepthRW
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayMSAADepthWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayMSAARO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayMSAARW
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayMSAAWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayRO
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayRW
enum CXTypeKind
|
static int |
CXType_OCLImage2dArrayWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dDepthRO
enum CXTypeKind
|
static int |
CXType_OCLImage2dDepthRW
enum CXTypeKind
|
static int |
CXType_OCLImage2dDepthWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dMSAADepthRO
enum CXTypeKind
|
static int |
CXType_OCLImage2dMSAADepthRW
enum CXTypeKind
|
static int |
CXType_OCLImage2dMSAADepthWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dMSAARO
enum CXTypeKind
|
static int |
CXType_OCLImage2dMSAARW
enum CXTypeKind
|
static int |
CXType_OCLImage2dMSAAWO
enum CXTypeKind
|
static int |
CXType_OCLImage2dRO
enum CXTypeKind
|
static int |
CXType_OCLImage2dRW
enum CXTypeKind
|
static int |
CXType_OCLImage2dWO
enum CXTypeKind
|
static int |
CXType_OCLImage3dRO
enum CXTypeKind
|
static int |
CXType_OCLImage3dRW
enum CXTypeKind
|
static int |
CXType_OCLImage3dWO
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeDualReferenceStreamin
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeDualRefStreamin
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImePayload
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeResult
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeResultDualReferenceStreamout
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeResultDualRefStreamout
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeResultSingleReferenceStreamout
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeResultSingleRefStreamout
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeSingleReferenceStreamin
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCImeSingleRefStreamin
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCMcePayload
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCMceResult
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCRefPayload
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCRefResult
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCSicPayload
enum CXTypeKind
|
static int |
CXType_OCLIntelSubgroupAVCSicResult
enum CXTypeKind
|
static int |
CXType_OCLQueue
enum CXTypeKind
|
static int |
CXType_OCLReserveID
enum CXTypeKind
|
static int |
CXType_OCLSampler
enum CXTypeKind
|
static int |
CXType_Overload
enum CXTypeKind
|
static int |
CXType_Pipe
enum CXTypeKind
|
static int |
CXType_Pointer
enum CXTypeKind
|
static int |
CXType_Record
enum CXTypeKind
|
static int |
CXType_RValueReference
enum CXTypeKind
|
static int |
CXType_SChar
enum CXTypeKind
|
static int |
CXType_Short
enum CXTypeKind
|
static int |
CXType_ShortAccum
enum CXTypeKind
|
static int |
CXType_Typedef
enum CXTypeKind
|
static int |
CXType_UAccum
enum CXTypeKind
|
static int |
CXType_UChar
enum CXTypeKind
|
static int |
CXType_UInt
enum CXTypeKind
|
static int |
CXType_UInt128
enum CXTypeKind
|
static int |
CXType_ULong
enum CXTypeKind
|
static int |
CXType_ULongAccum
enum CXTypeKind
|
static int |
CXType_ULongLong
enum CXTypeKind
|
static int |
CXType_Unexposed
enum CXTypeKind
|
static int |
CXType_UShort
enum CXTypeKind
|
static int |
CXType_UShortAccum
enum CXTypeKind
|
static int |
CXType_VariableArray
enum CXTypeKind
|
static int |
CXType_Vector
enum CXTypeKind
|
static int |
CXType_Void
enum CXTypeKind
|
static int |
CXType_WChar
enum CXTypeKind
|
static int |
CXTypeLayoutError_Dependent
enum CXTypeLayoutError
|
static int |
CXTypeLayoutError_Incomplete
enum CXTypeLayoutError
|
static int |
CXTypeLayoutError_Invalid
enum CXTypeLayoutError
|
static int |
CXTypeLayoutError_InvalidFieldName
enum CXTypeLayoutError
|
static int |
CXTypeLayoutError_NotConstantSize
enum CXTypeLayoutError
|
static int |
CXTypeLayoutError_Undeduced
enum CXTypeLayoutError
|
static int |
CXTypeNullability_Invalid
enum CXTypeNullabilityKind
|
static int |
CXTypeNullability_NonNull
enum CXTypeNullabilityKind
|
static int |
CXTypeNullability_Nullable
enum CXTypeNullabilityKind
|
static int |
CXTypeNullability_NullableResult
enum CXTypeNullabilityKind
|
static int |
CXTypeNullability_Unspecified
enum CXTypeNullabilityKind
|
static int |
CXUnaryOperator_AddrOf
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Coawait
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Deref
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Extension
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Imag
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Invalid
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_LNot
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Minus
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Not
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Plus
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_PostDec
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_PostInc
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_PreDec
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_PreInc
enum CXUnaryOperatorKind
|
static int |
CXUnaryOperator_Real
enum CXUnaryOperatorKind
|
static int |
CXVisibility_Default
enum CXVisibilityKind
|
static int |
CXVisibility_Hidden
enum CXVisibilityKind
|
static int |
CXVisibility_Invalid
enum CXVisibilityKind
|
static int |
CXVisibility_Protected
enum CXVisibilityKind
|
static int |
CXVisit_Break
enum CXVisitorResult
|
static int |
CXVisit_Continue
enum CXVisitorResult
|
Constructor and Description |
---|
clang() |
Modifier and Type | Method and Description |
---|---|
static int |
CINDEX_VERSION() |
static void |
clang_annotateTokens(CXTranslationUnit TU,
CXToken Tokens,
int NumTokens,
CXCursor 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.
|
static CXString |
clang_BlockCommandComment_getArgText(CXComment Comment,
int ArgIdx) |
static CXString |
clang_BlockCommandComment_getCommandName(CXComment Comment) |
static int |
clang_BlockCommandComment_getNumArgs(CXComment Comment) |
static CXComment |
clang_BlockCommandComment_getParagraph(CXComment Comment) |
static CXCodeCompleteResults |
clang_codeCompleteAt(CXTranslationUnit TU,
BytePointer complete_filename,
int complete_line,
int complete_column,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options)
Perform code completion at a given location in a translation unit.
|
static CXCodeCompleteResults |
clang_codeCompleteAt(CXTranslationUnit TU,
String complete_filename,
int complete_line,
int complete_column,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static int |
clang_codeCompleteGetContainerKind(CXCodeCompleteResults Results,
int[] IsIncomplete) |
static int |
clang_codeCompleteGetContainerKind(CXCodeCompleteResults Results,
IntBuffer IsIncomplete) |
static int |
clang_codeCompleteGetContainerKind(CXCodeCompleteResults Results,
IntPointer IsIncomplete)
Returns the cursor kind for the container for the current code
completion context.
|
static CXString |
clang_codeCompleteGetContainerUSR(CXCodeCompleteResults Results)
Returns the USR for the container for the current code completion
context.
|
static long |
clang_codeCompleteGetContexts(CXCodeCompleteResults Results)
Determines what completions are appropriate for the context
the given code completion.
|
static CXDiagnostic |
clang_codeCompleteGetDiagnostic(CXCodeCompleteResults Results,
int Index)
Retrieve a diagnostic associated with the given code completion.
|
static int |
clang_codeCompleteGetNumDiagnostics(CXCodeCompleteResults Results)
Determine the number of diagnostics produced prior to the
location where code completion was performed.
|
static CXString |
clang_codeCompleteGetObjCSelector(CXCodeCompleteResults Results)
Returns the currently-entered selector for an Objective-C message
send, formatted like "initWithFoo:bar:".
|
static CXComment |
clang_Comment_getChild(CXComment Comment,
int ChildIdx) |
static int |
clang_Comment_getKind(CXComment Comment) |
static int |
clang_Comment_getNumChildren(CXComment Comment) |
static int |
clang_Comment_isWhitespace(CXComment Comment)
A \c CXComment_Paragraph node is considered whitespace if it contains
only \c CXComment_Text nodes that are empty or whitespace.
|
static void |
clang_CompilationDatabase_dispose(CXCompilationDatabase arg0)
Free the given compilation database
|
static CXCompilationDatabase |
clang_CompilationDatabase_fromDirectory(BytePointer BuildDir,
int[] ErrorCode) |
static CXCompilationDatabase |
clang_CompilationDatabase_fromDirectory(BytePointer BuildDir,
IntBuffer ErrorCode) |
static CXCompilationDatabase |
clang_CompilationDatabase_fromDirectory(BytePointer BuildDir,
IntPointer ErrorCode)
Creates a compilation database from the database found in directory
buildDir.
|
static CXCompilationDatabase |
clang_CompilationDatabase_fromDirectory(String BuildDir,
int[] ErrorCode) |
static CXCompilationDatabase |
clang_CompilationDatabase_fromDirectory(String BuildDir,
IntBuffer ErrorCode) |
static CXCompilationDatabase |
clang_CompilationDatabase_fromDirectory(String BuildDir,
IntPointer ErrorCode) |
static CXCompileCommands |
clang_CompilationDatabase_getAllCompileCommands(CXCompilationDatabase arg0)
Get all the compile commands in the given compilation database.
|
static CXCompileCommands |
clang_CompilationDatabase_getCompileCommands(CXCompilationDatabase arg0,
BytePointer CompleteFileName)
Find the compile commands used for a file.
|
static CXCompileCommands |
clang_CompilationDatabase_getCompileCommands(CXCompilationDatabase arg0,
String CompleteFileName) |
static CXString |
clang_CompileCommand_getArg(CXCompileCommand arg0,
int I)
Get the I'th argument value in the compiler invocations
Invariant :
- argument 0 is the compiler executable
|
static CXString |
clang_CompileCommand_getDirectory(CXCompileCommand arg0)
Get the working directory where the CompileCommand was executed from
|
static CXString |
clang_CompileCommand_getFilename(CXCompileCommand arg0)
Get the filename associated with the CompileCommand.
|
static CXString |
clang_CompileCommand_getMappedSourceContent(CXCompileCommand arg0,
int I)
Get the I'th mapped source content for the compiler invocation.
|
static CXString |
clang_CompileCommand_getMappedSourcePath(CXCompileCommand arg0,
int I)
Get the I'th mapped source path for the compiler invocation.
|
static int |
clang_CompileCommand_getNumArgs(CXCompileCommand arg0)
Get the number of arguments in the compiler invocation.
|
static int |
clang_CompileCommand_getNumMappedSources(CXCompileCommand arg0)
Get the number of source mappings for the compiler invocation.
|
static void |
clang_CompileCommands_dispose(CXCompileCommands arg0)
Free the given CompileCommands
|
static CXCompileCommand |
clang_CompileCommands_getCommand(CXCompileCommands arg0,
int I)
Get the I'th CompileCommand for a file
Note : 0 <= i < clang_CompileCommands_getSize(CXCompileCommands)
|
static int |
clang_CompileCommands_getSize(CXCompileCommands arg0)
Get the number of CompileCommand we have for a file
|
static CXString |
clang_constructUSR_ObjCCategory(BytePointer class_name,
BytePointer category_name)
Construct a USR for a specified Objective-C category.
|
static CXString |
clang_constructUSR_ObjCCategory(String class_name,
String category_name) |
static CXString |
clang_constructUSR_ObjCClass(BytePointer class_name)
Construct a USR for a specified Objective-C class.
|
static CXString |
clang_constructUSR_ObjCClass(String class_name) |
static CXString |
clang_constructUSR_ObjCIvar(BytePointer name,
CXString classUSR)
Construct a USR for a specified Objective-C instance variable and
the USR for its containing class.
|
static CXString |
clang_constructUSR_ObjCIvar(String name,
CXString classUSR) |
static CXString |
clang_constructUSR_ObjCMethod(BytePointer name,
int isInstanceMethod,
CXString classUSR)
Construct a USR for a specified Objective-C method and
the USR for its containing class.
|
static CXString |
clang_constructUSR_ObjCMethod(String name,
int isInstanceMethod,
CXString classUSR) |
static CXString |
clang_constructUSR_ObjCProperty(BytePointer property,
CXString classUSR)
Construct a USR for a specified Objective-C property and the USR
for its containing class.
|
static CXString |
clang_constructUSR_ObjCProperty(String property,
CXString classUSR) |
static CXString |
clang_constructUSR_ObjCProtocol(BytePointer protocol_name)
Construct a USR for a specified Objective-C protocol.
|
static CXString |
clang_constructUSR_ObjCProtocol(String protocol_name) |
static int |
clang_createAPISet(CXTranslationUnit tu,
CXAPISet out_api)
Traverses the translation unit to create a \c CXAPISet.
|
static int |
clang_createAPISet(CXTranslationUnit tu,
PointerPointer out_api) |
static CXCursorSet |
clang_createCXCursorSet()
Creates an empty CXCursorSet.
|
static CXIndex |
clang_createIndex(int excludeDeclarationsFromPCH,
int displayDiagnostics)
Provides a shared context for creating translation units.
|
static CXIndex |
clang_createIndexWithOptions(CXIndexOptions options)
Provides a shared context for creating translation units.
|
static CXTranslationUnit |
clang_createTranslationUnit(CXIndex CIdx,
BytePointer ast_filename)
Same as \c clang_createTranslationUnit2, but returns
the \c CXTranslationUnit instead of an error code.
|
static CXTranslationUnit |
clang_createTranslationUnit(CXIndex CIdx,
String ast_filename) |
static int |
clang_createTranslationUnit2(CXIndex CIdx,
BytePointer ast_filename,
CXTranslationUnit out_TU)
Create a translation unit from an AST file (\c -emit-ast).
|
static int |
clang_createTranslationUnit2(CXIndex CIdx,
String ast_filename,
PointerPointer out_TU) |
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
BytePointer source_filename,
int num_clang_command_line_args,
byte[] clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files) |
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
BytePointer source_filename,
int num_clang_command_line_args,
ByteBuffer clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files) |
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
BytePointer source_filename,
int num_clang_command_line_args,
BytePointer clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files) |
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
BytePointer source_filename,
int num_clang_command_line_args,
PointerPointer clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files)
Return the CXTranslationUnit for a given source file and the provided
command line arguments one would pass to the compiler.
|
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
String source_filename,
int num_clang_command_line_args,
byte[] clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files) |
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
String source_filename,
int num_clang_command_line_args,
ByteBuffer clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files) |
static CXTranslationUnit |
clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
String source_filename,
int num_clang_command_line_args,
BytePointer clang_command_line_args,
int num_unsaved_files,
CXUnsavedFile unsaved_files) |
static CXEvalResult |
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.
|
static CXCursor |
clang_Cursor_getArgument(CXCursor C,
int i)
Retrieve the argument cursor of a function or method.
|
static CXString |
clang_Cursor_getBriefCommentText(CXCursor C)
Given a cursor that represents a documentable entity (e.g.,
declaration), return the associated \paragraph; otherwise return the
first paragraph.
|
static CXSourceRange |
clang_Cursor_getCommentRange(CXCursor C)
Given a cursor that represents a declaration, return the associated
comment's source range.
|
static CXStringSet |
clang_Cursor_getCXXManglings(CXCursor arg0)
Retrieve the CXStrings representing the mangled symbols of the C++
constructor or destructor at the cursor.
|
static CXString |
clang_Cursor_getMangling(CXCursor arg0)
Retrieve the CXString representing the mangled name of the cursor.
|
static CXModule |
clang_Cursor_getModule(CXCursor C)
Given a CXCursor_ModuleImportDecl cursor, return the associated module.
|
static int |
clang_Cursor_getNumArguments(CXCursor C)
Retrieve the number of non-variadic arguments associated with a given
cursor.
|
static int |
clang_Cursor_getNumTemplateArguments(CXCursor C)
Returns the number of template args of a function, struct, or class decl
representing a template specialization.
|
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.
|
static CXStringSet |
clang_Cursor_getObjCManglings(CXCursor arg0)
Retrieve the CXStrings representing the mangled symbols of the ObjC
class interface or implementation at the cursor.
|
static int |
clang_Cursor_getObjCPropertyAttributes(CXCursor C,
int reserved)
Given a cursor that represents a property declaration, return the
associated property attributes.
|
static CXString |
clang_Cursor_getObjCPropertyGetterName(CXCursor C)
Given a cursor that represents a property declaration, return the
name of the method that implements the getter.
|
static CXString |
clang_Cursor_getObjCPropertySetterName(CXCursor C)
Given a cursor that represents a property declaration, return the
name of the method that implements the setter, if any.
|
static int |
clang_Cursor_getObjCSelectorIndex(CXCursor arg0)
If the cursor points to a selector identifier in an Objective-C
method or message expression, this returns the selector index.
|
static long |
clang_Cursor_getOffsetOfField(CXCursor C)
Return the offset of the field represented by the Cursor.
|
static CXComment |
clang_Cursor_getParsedComment(CXCursor C)
Given a cursor that represents a documentable entity (e.g.,
declaration), return the associated parsed comment as a
\c CXComment_FullComment AST node.
|
static CXString |
clang_Cursor_getRawCommentText(CXCursor C)
Given a cursor that represents a declaration, return the associated
comment text, including comment markers.
|
static CXType |
clang_Cursor_getReceiverType(CXCursor C)
Given a cursor pointing to an Objective-C message or property
reference, or C++ method call, returns the CXType of the receiver.
|
static CXSourceRange |
clang_Cursor_getSpellingNameRange(CXCursor arg0,
int pieceIndex,
int options)
Retrieve a range for a piece that forms the cursors spelling name.
|
static int |
clang_Cursor_getStorageClass(CXCursor arg0)
Returns the storage class for a function or variable declaration.
|
static int |
clang_Cursor_getTemplateArgumentKind(CXCursor C,
int I)
Retrieve the kind of the I'th template argument of the CXCursor C.
|
static CXType |
clang_Cursor_getTemplateArgumentType(CXCursor C,
int I)
Retrieve a CXType representing the type of a TemplateArgument of a
function decl representing a template specialization.
|
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.
|
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.
|
static CXTranslationUnit |
clang_Cursor_getTranslationUnit(CXCursor arg0)
Returns the translation unit that a cursor originated from.
|
static CXCursor |
clang_Cursor_getVarDeclInitializer(CXCursor cursor)
If cursor refers to a variable declaration and it has initializer returns
cursor referring to the initializer otherwise return null cursor.
|
static int |
clang_Cursor_hasAttrs(CXCursor C)
Determine whether the given cursor has any attributes.
|
static int |
clang_Cursor_hasVarDeclExternalStorage(CXCursor cursor)
If cursor refers to a variable declaration that has external storage
returns 1.
|
static int |
clang_Cursor_hasVarDeclGlobalStorage(CXCursor cursor)
If cursor refers to a variable declaration that has global storage returns 1.
|
static int |
clang_Cursor_isAnonymous(CXCursor C)
Determine whether the given cursor represents an anonymous
tag or namespace
|
static int |
clang_Cursor_isAnonymousRecordDecl(CXCursor C)
Determine whether the given cursor represents an anonymous record
declaration.
|
static int |
clang_Cursor_isBitField(CXCursor C)
Returns non-zero if the cursor specifies a Record member that is a bit-field.
|
static int |
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.
|
static int |
clang_Cursor_isExternalSymbol(CXCursor C,
CXString language,
CXString definedIn,
int[] isGenerated) |
static int |
clang_Cursor_isExternalSymbol(CXCursor C,
CXString language,
CXString definedIn,
IntBuffer isGenerated) |
static int |
clang_Cursor_isExternalSymbol(CXCursor C,
CXString language,
CXString definedIn,
IntPointer isGenerated)
Returns non-zero if the given cursor points to a symbol marked with
external_source_symbol attribute.
|
static int |
clang_Cursor_isFunctionInlined(CXCursor C)
Determine whether a CXCursor that is a function declaration, is an
inline declaration.
|
static int |
clang_Cursor_isInlineNamespace(CXCursor C)
Determine whether the given cursor represents an inline namespace
declaration.
|
static int |
clang_Cursor_isMacroBuiltin(CXCursor C)
Determine whether a CXCursor that is a macro, is a
builtin one.
|
static int |
clang_Cursor_isMacroFunctionLike(CXCursor C)
Determine whether a CXCursor that is a macro, is
function like.
|
static int |
clang_Cursor_isNull(CXCursor cursor)
Returns non-zero if \p cursor is null.
|
static int |
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".
|
static int |
clang_Cursor_isVariadic(CXCursor C)
Returns non-zero if the given cursor is a variadic function or method.
|
static int |
clang_CXCursorSet_contains(CXCursorSet cset,
CXCursor cursor)
Queries a CXCursorSet to see if it contains a specific CXCursor.
|
static int |
clang_CXCursorSet_insert(CXCursorSet cset,
CXCursor cursor)
Inserts a CXCursor into a CXCursorSet.
|
static int |
clang_CXIndex_getGlobalOptions(CXIndex arg0)
Gets the general options associated with a CXIndex.
|
static void |
clang_CXIndex_setGlobalOptions(CXIndex arg0,
int options)
Sets general options associated with a CXIndex.
|
static void |
clang_CXIndex_setInvocationEmissionPathOption(CXIndex arg0,
BytePointer Path)
Sets the invocation emission path option in a CXIndex.
|
static void |
clang_CXIndex_setInvocationEmissionPathOption(CXIndex arg0,
String Path) |
static int |
clang_CXXConstructor_isConvertingConstructor(CXCursor C)
Determine if a C++ constructor is a converting constructor.
|
static int |
clang_CXXConstructor_isCopyConstructor(CXCursor C)
Determine if a C++ constructor is a copy constructor.
|
static int |
clang_CXXConstructor_isDefaultConstructor(CXCursor C)
Determine if a C++ constructor is the default constructor.
|
static int |
clang_CXXConstructor_isMoveConstructor(CXCursor C)
Determine if a C++ constructor is a move constructor.
|
static int |
clang_CXXField_isMutable(CXCursor C)
Determine if a C++ field is declared 'mutable'.
|
static int |
clang_CXXMethod_isConst(CXCursor C)
Determine if a C++ member function or member function template is
declared 'const'.
|
static int |
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.
|
static int |
clang_CXXMethod_isDefaulted(CXCursor C)
Determine if a C++ method is declared '= default'.
|
static int |
clang_CXXMethod_isDeleted(CXCursor C)
Determine if a C++ method is declared '= delete'.
|
static int |
clang_CXXMethod_isExplicit(CXCursor C)
Determines if a C++ constructor or conversion function was declared
explicit, returning 1 if such is the case and 0 otherwise.
|
static int |
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.
|
static int |
clang_CXXMethod_isPureVirtual(CXCursor C)
Determine if a C++ member function or member function template is
pure virtual.
|
static int |
clang_CXXMethod_isStatic(CXCursor C)
Determine if a C++ member function or member function template is
declared 'static'.
|
static int |
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.
|
static int |
clang_CXXRecord_isAbstract(CXCursor C)
Determine if a C++ record is abstract, i.e.
|
static int |
clang_defaultCodeCompleteOptions()
Returns a default set of code-completion options that can be
passed to\c clang_codeCompleteAt().
|
static int |
clang_defaultDiagnosticDisplayOptions()
Retrieve the set of display options most similar to the
default behavior of the clang compiler.
|
static int |
clang_defaultEditingTranslationUnitOptions()
Returns the set of flags that is suitable for parsing a translation
unit that is being edited.
|
static int |
clang_defaultReparseOptions(CXTranslationUnit TU)
Returns the set of flags that is suitable for reparsing a translation
unit.
|
static int |
clang_defaultSaveOptions(CXTranslationUnit TU)
Returns the set of flags that is suitable for saving a translation
unit.
|
static void |
clang_disposeAPISet(CXAPISet api)
Dispose of an APISet.
|
static void |
clang_disposeCodeCompleteResults(CXCodeCompleteResults Results)
Free the given set of code-completion results.
|
static void |
clang_disposeCXCursorSet(CXCursorSet cset)
Disposes a CXCursorSet and releases its associated memory.
|
static void |
clang_disposeCXPlatformAvailability(CXPlatformAvailability availability)
Free the memory associated with a \c CXPlatformAvailability structure.
|
static void |
clang_disposeCXTUResourceUsage(CXTUResourceUsage usage) |
static void |
clang_disposeDiagnostic(CXDiagnostic Diagnostic)
Destroy a diagnostic.
|
static void |
clang_disposeDiagnosticSet(CXDiagnosticSet Diags)
Release a CXDiagnosticSet and all of its contained diagnostics.
|
static void |
clang_disposeIndex(CXIndex index)
Destroy the given index.
|
static void |
clang_disposeOverriddenCursors(CXCursor overridden)
Free the set of overridden cursors returned by \c
clang_getOverriddenCursors().
|
static void |
clang_disposeSourceRangeList(CXSourceRangeList ranges)
Destroy the given \c CXSourceRangeList.
|
static void |
clang_disposeString(CXString string)
Free the given string.
|
static void |
clang_disposeStringSet(CXStringSet set)
Free the given string set.
|
static void |
clang_disposeTokens(CXTranslationUnit TU,
CXToken Tokens,
int NumTokens)
Free the given set of tokens.
|
static void |
clang_disposeTranslationUnit(CXTranslationUnit arg0)
Destroy the specified CXTranslationUnit object.
|
static void |
clang_enableStackTraces() |
static int |
clang_EnumDecl_isScoped(CXCursor C)
Determine if an enum declaration refers to a scoped enum.
|
static int |
clang_equalCursors(CXCursor arg0,
CXCursor arg1)
Determine whether two cursors are equivalent.
|
static int |
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.
|
static int |
clang_equalRanges(CXSourceRange range1,
CXSourceRange range2)
Determine whether two ranges are equivalent.
|
static int |
clang_equalTypes(CXType A,
CXType B)
Determine whether two CXTypes represent the same type.
|
static void |
clang_EvalResult_dispose(CXEvalResult E)
Disposes the created Eval memory.
|
static double |
clang_EvalResult_getAsDouble(CXEvalResult E)
Returns the evaluation result as double if the
kind is double.
|
static int |
clang_EvalResult_getAsInt(CXEvalResult E)
Returns the evaluation result as integer if the
kind is Int.
|
static long |
clang_EvalResult_getAsLongLong(CXEvalResult E)
Returns the evaluation result as a long long integer if the
kind is Int.
|
static BytePointer |
clang_EvalResult_getAsStr(CXEvalResult E)
Returns the evaluation result as a constant string if the
kind is other than Int or float.
|
static long |
clang_EvalResult_getAsUnsigned(CXEvalResult E)
Returns the evaluation result as an unsigned integer if
the kind is Int and clang_EvalResult_isUnsignedInt is non-zero.
|
static int |
clang_EvalResult_getKind(CXEvalResult E)
Returns the kind of the evaluated result.
|
static int |
clang_EvalResult_isUnsignedInt(CXEvalResult E)
Returns a non-zero value if the kind is Int and the evaluation
result resulted in an unsigned integer.
|
static void |
clang_executeOnThread(Fn_Pointer fn,
Pointer user_data,
int stack_size) |
static int |
clang_File_isEqual(CXFile file1,
CXFile file2)
Returns non-zero if the \c file1 and \c file2 point to the same file,
or they are both NULL.
|
static CXString |
clang_File_tryGetRealPathName(CXFile file)
Returns the real path name of \c file.
|
static int |
clang_findIncludesInFile(CXTranslationUnit TU,
CXFile file,
CXCursorAndRangeVisitor visitor)
Find #import/#include directives in a specific file.
|
static int |
clang_findReferencesInFile(CXCursor cursor,
CXFile file,
CXCursorAndRangeVisitor visitor)
Find references of a declaration in a specific file.
|
static CXString |
clang_formatDiagnostic(CXDiagnostic Diagnostic,
int Options)
Format the given diagnostic in a manner that is suitable for display.
|
static void |
clang_free(Pointer buffer)
free memory allocated by libclang, such as the buffer returned by
\c CXVirtualFileOverlay() or \c clang_ModuleMapDescriptor_writeToBuffer().
|
static CXString |
clang_FullComment_getAsHTML(CXComment Comment)
Convert a given full parsed comment to an HTML fragment.
|
static CXString |
clang_FullComment_getAsXML(CXComment Comment)
Convert a given full parsed comment to an XML document.
|
static int |
clang_getAddressSpace(CXType T)
Returns the address space of the given type.
|
static CXSourceRangeList |
clang_getAllSkippedRanges(CXTranslationUnit tu)
Retrieve all ranges from all files that were skipped by the
preprocessor.
|
static CXType |
clang_getArgType(CXType T,
int i)
Retrieve the type of a parameter of a function type.
|
static CXType |
clang_getArrayElementType(CXType T)
Return the element type of an array type.
|
static long |
clang_getArraySize(CXType T)
Return the array size of a constant array.
|
static CXString |
clang_getBinaryOperatorKindSpelling(int kind)
Retrieve the spelling of a given CXBinaryOperatorKind.
|
static long |
clang_getBuildSessionTimestamp()
Return the timestamp for use with Clang's
\c -fbuild-session-timestamp= option.
|
static CXCursor |
clang_getCanonicalCursor(CXCursor arg0)
Retrieve the canonical cursor corresponding to the given cursor.
|
static CXType |
clang_getCanonicalType(CXType T)
Return the canonical type for a CXType.
|
static CXDiagnosticSet |
clang_getChildDiagnostics(CXDiagnostic D)
Retrieve the child diagnostics of a CXDiagnostic.
|
static CXString |
clang_getClangVersion()
Return a version string, suitable for showing to a user, but not
intended to be parsed (the format is not guaranteed to be stable).
|
static CXString |
clang_getCompletionAnnotation(CXCompletionString completion_string,
int annotation_number)
Retrieve the annotation associated with the given completion string.
|
static int |
clang_getCompletionAvailability(CXCompletionString completion_string)
Determine the availability of the entity that this code-completion
string refers to.
|
static CXString |
clang_getCompletionBriefComment(CXCompletionString completion_string)
Retrieve the brief documentation comment attached to the declaration
that corresponds to the given completion string.
|
static CXCompletionString |
clang_getCompletionChunkCompletionString(CXCompletionString completion_string,
int chunk_number)
Retrieve the completion string associated with a particular chunk
within a completion string.
|
static int |
clang_getCompletionChunkKind(CXCompletionString completion_string,
int chunk_number)
Determine the kind of a particular chunk within a completion string.
|
static CXString |
clang_getCompletionChunkText(CXCompletionString completion_string,
int chunk_number)
Retrieve the text associated with a particular chunk within a
completion string.
|
static CXString |
clang_getCompletionFixIt(CXCodeCompleteResults results,
int completion_index,
int fixit_index,
CXSourceRange replacement_range)
Fix-its that *must* be applied before inserting the text for the
corresponding completion.
|
static int |
clang_getCompletionNumAnnotations(CXCompletionString completion_string)
Retrieve the number of annotations associated with the given
completion string.
|
static int |
clang_getCompletionNumFixIts(CXCodeCompleteResults results,
int completion_index)
Retrieve the number of fix-its for the given completion index.
|
static CXString |
clang_getCompletionParent(CXCompletionString completion_string,
int[] kind) |
static CXString |
clang_getCompletionParent(CXCompletionString completion_string,
IntBuffer kind) |
static CXString |
clang_getCompletionParent(CXCompletionString completion_string,
IntPointer kind)
Retrieve the parent context of the given completion string.
|
static int |
clang_getCompletionPriority(CXCompletionString completion_string)
Determine the priority of this code completion.
|
static BytePointer |
clang_getCString(CXString string)
Retrieve the character data associated with the given string.
|
static CXCursor |
clang_getCursor(CXTranslationUnit arg0,
CXSourceLocation arg1)
Map a source location to the cursor that describes the entity at that
location in the source code.
|
static int |
clang_getCursorAvailability(CXCursor cursor)
Determine the availability of the entity that this cursor refers to,
taking the current target platform into account.
|
static int |
clang_getCursorBinaryOperatorKind(CXCursor cursor)
Retrieve the binary operator kind of this cursor.
|
static CXCompletionString |
clang_getCursorCompletionString(CXCursor cursor)
Retrieve a completion string for an arbitrary declaration or macro
definition cursor.
|
static CXCursor |
clang_getCursorDefinition(CXCursor arg0)
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.
|
static CXString |
clang_getCursorDisplayName(CXCursor arg0)
Retrieve the display name for the entity referenced by this cursor.
|
static int |
clang_getCursorExceptionSpecificationType(CXCursor C)
Retrieve the exception specification type associated with a given cursor.
|
static CXSourceRange |
clang_getCursorExtent(CXCursor arg0)
Retrieve the physical extent of the source construct referenced by
the given cursor.
|
static int |
clang_getCursorKind(CXCursor arg0)
Retrieve the kind of the given cursor.
|
static CXString |
clang_getCursorKindSpelling(int Kind)
\defgroup CINDEX_DEBUG Debugging facilities
These routines are used for testing and debugging, only, and should not
be relied upon.
|
static int |
clang_getCursorLanguage(CXCursor cursor)
Determine the "language" of the entity referred to by a given cursor.
|
static CXCursor |
clang_getCursorLexicalParent(CXCursor cursor)
Determine the lexical parent of the given cursor.
|
static int |
clang_getCursorLinkage(CXCursor cursor)
Determine the linkage of the entity referred to by a given cursor.
|
static CXSourceLocation |
clang_getCursorLocation(CXCursor arg0)
Retrieve the physical location of the source constructor referenced
by the given cursor.
|
static int |
clang_getCursorPlatformAvailability(CXCursor cursor,
int[] always_deprecated,
CXString deprecated_message,
int[] always_unavailable,
CXString unavailable_message,
CXPlatformAvailability availability,
int availability_size) |
static int |
clang_getCursorPlatformAvailability(CXCursor cursor,
IntBuffer always_deprecated,
CXString deprecated_message,
IntBuffer always_unavailable,
CXString unavailable_message,
CXPlatformAvailability availability,
int availability_size) |
static int |
clang_getCursorPlatformAvailability(CXCursor cursor,
IntPointer always_deprecated,
CXString deprecated_message,
IntPointer always_unavailable,
CXString unavailable_message,
CXPlatformAvailability availability,
int availability_size)
Determine the availability of the entity that this cursor refers to
on any platforms for which availability information is known.
|
static CXString |
clang_getCursorPrettyPrinted(CXCursor Cursor,
CXPrintingPolicy Policy)
Pretty print declarations.
|
static CXPrintingPolicy |
clang_getCursorPrintingPolicy(CXCursor arg0)
Retrieve the default policy for the cursor.
|
static CXCursor |
clang_getCursorReferenced(CXCursor arg0)
For a cursor that is a reference, retrieve a cursor representing the
entity that it references.
|
static CXSourceRange |
clang_getCursorReferenceNameRange(CXCursor C,
int NameFlags,
int PieceIndex)
Given a cursor that references something else, return the source range
covering that reference.
|
static CXType |
clang_getCursorResultType(CXCursor C)
Retrieve the return type associated with a given cursor.
|
static CXCursor |
clang_getCursorSemanticParent(CXCursor cursor)
Determine the semantic parent of the given cursor.
|
static CXString |
clang_getCursorSpelling(CXCursor arg0)
Retrieve a name for the entity referenced by this cursor.
|
static int |
clang_getCursorTLSKind(CXCursor cursor)
Determine the "thread-local storage (TLS) kind" of the declaration
referred to by a cursor.
|
static CXType |
clang_getCursorType(CXCursor C)
Retrieve the type of a CXCursor (if any).
|
static int |
clang_getCursorUnaryOperatorKind(CXCursor cursor)
Retrieve the unary operator kind of this cursor.
|
static CXString |
clang_getCursorUSR(CXCursor arg0)
Retrieve a Unified Symbol Resolution (USR) for the entity referenced
by the given cursor.
|
static int |
clang_getCursorVisibility(CXCursor cursor)
Describe the visibility of the entity referred to by a cursor.
|
static CXTUResourceUsage |
clang_getCXTUResourceUsage(CXTranslationUnit TU)
Return the memory usage of a translation unit.
|
static int |
clang_getCXXAccessSpecifier(CXCursor arg0)
Returns the access control level for the referenced object.
|
static CXString |
clang_getDeclObjCTypeEncoding(CXCursor C)
Returns the Objective-C type encoding for the specified declaration.
|
static void |
clang_getDefinitionSpellingAndExtent(CXCursor arg0,
byte[] startBuf,
byte[] endBuf,
int[] startLine,
int[] startColumn,
int[] endLine,
int[] endColumn) |
static void |
clang_getDefinitionSpellingAndExtent(CXCursor arg0,
ByteBuffer startBuf,
ByteBuffer endBuf,
IntBuffer startLine,
IntBuffer startColumn,
IntBuffer endLine,
IntBuffer endColumn) |
static void |
clang_getDefinitionSpellingAndExtent(CXCursor arg0,
BytePointer startBuf,
BytePointer endBuf,
IntPointer startLine,
IntPointer startColumn,
IntPointer endLine,
IntPointer endColumn) |
static void |
clang_getDefinitionSpellingAndExtent(CXCursor arg0,
PointerPointer startBuf,
PointerPointer endBuf,
IntPointer startLine,
IntPointer startColumn,
IntPointer endLine,
IntPointer endColumn) |
static CXDiagnostic |
clang_getDiagnostic(CXTranslationUnit Unit,
int Index)
Retrieve a diagnostic associated with the given translation unit.
|
static int |
clang_getDiagnosticCategory(CXDiagnostic arg0)
Retrieve the category number for this diagnostic.
|
static CXString |
clang_getDiagnosticCategoryName(int Category)
Retrieve the name of a particular diagnostic category.
|
static CXString |
clang_getDiagnosticCategoryText(CXDiagnostic arg0)
Retrieve the diagnostic category text for a given diagnostic.
|
static CXString |
clang_getDiagnosticFixIt(CXDiagnostic Diagnostic,
int FixIt,
CXSourceRange ReplacementRange)
Retrieve the replacement information for a given fix-it.
|
static CXDiagnostic |
clang_getDiagnosticInSet(CXDiagnosticSet Diags,
int Index)
Retrieve a diagnostic associated with the given CXDiagnosticSet.
|
static CXSourceLocation |
clang_getDiagnosticLocation(CXDiagnostic arg0)
Retrieve the source location of the given diagnostic.
|
static int |
clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic)
Determine the number of fix-it hints associated with the
given diagnostic.
|
static int |
clang_getDiagnosticNumRanges(CXDiagnostic arg0)
Determine the number of source ranges associated with the given
diagnostic.
|
static CXString |
clang_getDiagnosticOption(CXDiagnostic Diag,
CXString Disable)
Retrieve the name of the command-line option that enabled this
diagnostic.
|
static CXSourceRange |
clang_getDiagnosticRange(CXDiagnostic Diagnostic,
int Range)
Retrieve a source range associated with the diagnostic.
|
static CXDiagnosticSet |
clang_getDiagnosticSetFromTU(CXTranslationUnit Unit)
Retrieve the complete set of diagnostics associated with a
translation unit.
|
static int |
clang_getDiagnosticSeverity(CXDiagnostic arg0)
Determine the severity of the given diagnostic.
|
static CXString |
clang_getDiagnosticSpelling(CXDiagnostic arg0)
Retrieve the text of the given diagnostic.
|
static CXType |
clang_getElementType(CXType T)
Return the element type of an array, complex, or vector type.
|
static long |
clang_getEnumConstantDeclUnsignedValue(CXCursor C)
Retrieve the integer value of an enum constant declaration as an unsigned
long long.
|
static long |
clang_getEnumConstantDeclValue(CXCursor C)
Retrieve the integer value of an enum constant declaration as a signed
long long.
|
static CXType |
clang_getEnumDeclIntegerType(CXCursor C)
Retrieve the integer type of an enum declaration.
|
static int |
clang_getExceptionSpecificationType(CXType T)
Retrieve the exception specification type associated with a function type.
|
static void |
clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static int |
clang_getFieldDeclBitWidth(CXCursor C)
Retrieve the bit width of a bit-field declaration as an integer.
|
static CXFile |
clang_getFile(CXTranslationUnit tu,
BytePointer file_name)
Retrieve a file handle within the given translation unit.
|
static CXFile |
clang_getFile(CXTranslationUnit tu,
String file_name) |
static BytePointer |
clang_getFileContents(CXTranslationUnit tu,
CXFile file,
SizeTPointer size)
Retrieve the buffer associated with the given file.
|
static void |
clang_getFileLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang_getFileLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang_getFileLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static CXString |
clang_getFileName(CXFile SFile)
Retrieve the complete file and path name of the given file.
|
static Pointer |
clang_getFileTime(CXFile SFile)
Retrieve the last modification time of the given file.
|
static int |
clang_getFileUniqueID(CXFile file,
CXFileUniqueID outID)
Retrieve the unique ID for the given \c file.
|
static int |
clang_getFunctionTypeCallingConv(CXType T)
Retrieve the calling convention associated with a function type.
|
static CXType |
clang_getIBOutletCollectionType(CXCursor arg0)
For cursors representing an iboutletcollection attribute,
this function returns the collection element type.
|
static CXFile |
clang_getIncludedFile(CXCursor cursor)
Retrieve the file that is included by the given inclusion directive
cursor.
|
static void |
clang_getInclusions(CXTranslationUnit tu,
CXInclusionVisitor visitor,
CXClientData client_data)
Visit the set of preprocessor inclusions in a translation unit.
|
static void |
clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Legacy API to retrieve the file, line, column, and offset represented
by the given source location.
|
static CXSourceLocation |
clang_getLocation(CXTranslationUnit tu,
CXFile file,
int line,
int column)
Retrieves the source location associated with a given file/line/column
in a particular translation unit.
|
static CXSourceLocation |
clang_getLocationForOffset(CXTranslationUnit tu,
CXFile file,
int offset)
Retrieves the source location associated with a given character offset
in a particular translation unit.
|
static CXModule |
clang_getModuleForFile(CXTranslationUnit arg0,
CXFile arg1)
Given a CXFile header file, return the module that contains it, if one
exists.
|
static CXType |
clang_getNonReferenceType(CXType CT)
For reference types (e.g., "const int&"), returns the type that the
reference refers to (e.g "const int").
|
static CXCursor |
clang_getNullCursor()
Retrieve the NULL cursor, which represents no entity.
|
static CXSourceLocation |
clang_getNullLocation()
Retrieve a NULL (invalid) source location.
|
static CXSourceRange |
clang_getNullRange()
Retrieve a NULL (invalid) source range.
|
static int |
clang_getNumArgTypes(CXType T)
Retrieve the number of non-variadic parameters associated with a
function type.
|
static int |
clang_getNumCompletionChunks(CXCompletionString completion_string)
Retrieve the number of chunks in the given code-completion string.
|
static int |
clang_getNumDiagnostics(CXTranslationUnit Unit)
Determine the number of diagnostics produced for the given
translation unit.
|
static int |
clang_getNumDiagnosticsInSet(CXDiagnosticSet Diags)
Determine the number of diagnostics in a CXDiagnosticSet.
|
static long |
clang_getNumElements(CXType T)
Return the number of elements of an array or vector type.
|
static int |
clang_getNumOverloadedDecls(CXCursor cursor)
Determine the number of overloaded declarations referenced by a
\c CXCursor_OverloadedDeclRef cursor.
|
static CXCursor |
clang_getOverloadedDecl(CXCursor cursor,
int index)
Retrieve a cursor for one of the overloaded declarations referenced
by a \c CXCursor_OverloadedDeclRef cursor.
|
static void |
clang_getOverriddenCursors(CXCursor cursor,
CXCursor overridden,
int[] num_overridden) |
static void |
clang_getOverriddenCursors(CXCursor cursor,
CXCursor overridden,
IntBuffer num_overridden) |
static void |
clang_getOverriddenCursors(CXCursor cursor,
CXCursor overridden,
IntPointer num_overridden) |
static void |
clang_getOverriddenCursors(CXCursor cursor,
PointerPointer overridden,
IntPointer num_overridden)
Determine the set of methods that are overridden by the given
method.
|
static CXType |
clang_getPointeeType(CXType T)
For pointer types, returns the type of the pointee.
|
static void |
clang_getPresumedLocation(CXSourceLocation location,
CXString filename,
int[] line,
int[] column) |
static void |
clang_getPresumedLocation(CXSourceLocation location,
CXString filename,
IntBuffer line,
IntBuffer column) |
static void |
clang_getPresumedLocation(CXSourceLocation location,
CXString filename,
IntPointer line,
IntPointer column)
Retrieve the file, line and column represented by the given source
location, as specified in a # line directive.
|
static CXSourceRange |
clang_getRange(CXSourceLocation begin,
CXSourceLocation end)
Retrieve a source range given the beginning and ending source
locations.
|
static CXSourceLocation |
clang_getRangeEnd(CXSourceRange range)
Retrieve a source location representing the last character within a
source range.
|
static CXSourceLocation |
clang_getRangeStart(CXSourceRange range)
Retrieve a source location representing the first character within a
source range.
|
static CXRemapping |
clang_getRemappings(BytePointer path)
Retrieve a remapping.
|
static CXRemapping |
clang_getRemappings(String path) |
static CXRemapping |
clang_getRemappingsFromFileList(byte[] filePaths,
int numFiles) |
static CXRemapping |
clang_getRemappingsFromFileList(ByteBuffer filePaths,
int numFiles) |
static CXRemapping |
clang_getRemappingsFromFileList(BytePointer filePaths,
int numFiles) |
static CXRemapping |
clang_getRemappingsFromFileList(PointerPointer filePaths,
int numFiles)
Retrieve a remapping.
|
static CXType |
clang_getResultType(CXType T)
Retrieve the return type associated with a function type.
|
static CXSourceRangeList |
clang_getSkippedRanges(CXTranslationUnit tu,
CXFile file)
Retrieve all ranges that were skipped by the preprocessor.
|
static CXCursor |
clang_getSpecializedCursorTemplate(CXCursor C)
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.
|
static void |
clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static CXString |
clang_getSymbolGraphForCursor(CXCursor cursor)
Generate a single symbol symbol graph for the declaration at the given
cursor.
|
static CXString |
clang_getSymbolGraphForUSR(BytePointer usr,
CXAPISet api)
Generate a single symbol symbol graph for the given USR.
|
static CXString |
clang_getSymbolGraphForUSR(String usr,
CXAPISet api) |
static int |
clang_getTemplateCursorKind(CXCursor C)
Given a cursor that represents a template, determine
the cursor kind of the specializations would be generated by instantiating
the template.
|
static CXToken |
clang_getToken(CXTranslationUnit TU,
CXSourceLocation Location)
Get the raw lexical token starting with the given location.
|
static CXSourceRange |
clang_getTokenExtent(CXTranslationUnit arg0,
CXToken arg1)
Retrieve a source range that covers the given token.
|
static int |
clang_getTokenKind(CXToken arg0)
Determine the kind of the given token.
|
static CXSourceLocation |
clang_getTokenLocation(CXTranslationUnit arg0,
CXToken arg1)
Retrieve the source location of the given token.
|
static CXString |
clang_getTokenSpelling(CXTranslationUnit arg0,
CXToken arg1)
Determine the spelling of the given token.
|
static CXCursor |
clang_getTranslationUnitCursor(CXTranslationUnit arg0)
Retrieve the cursor that represents the given translation unit.
|
static CXString |
clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit)
Get the original translation unit source file name.
|
static CXTargetInfo |
clang_getTranslationUnitTargetInfo(CXTranslationUnit CTUnit)
Get target information for this translation unit.
|
static BytePointer |
clang_getTUResourceUsageName(int kind)
Returns the human-readable null-terminated C string that represents
the name of the memory category.
|
static CXCursor |
clang_getTypeDeclaration(CXType T)
Return the cursor for the declaration of the given type.
|
static CXType |
clang_getTypedefDeclUnderlyingType(CXCursor C)
Retrieve the underlying type of a typedef declaration.
|
static CXString |
clang_getTypedefName(CXType CT)
Returns the typedef name of the given type.
|
static CXString |
clang_getTypeKindSpelling(int K)
Retrieve the spelling of a given CXTypeKind.
|
static CXString |
clang_getTypeSpelling(CXType CT)
Pretty-print the underlying type using the rules of the
language of the translation unit from which it came.
|
static CXString |
clang_getUnaryOperatorKindSpelling(int kind)
Retrieve the spelling of a given CXUnaryOperatorKind.
|
static CXType |
clang_getUnqualifiedType(CXType CT)
Retrieve the unqualified variant of the given type, removing as
little sugar as possible.
|
static int |
clang_hashCursor(CXCursor arg0)
Compute a hash value for the given cursor.
|
static CXString |
clang_HTMLStartTag_getAttrName(CXComment Comment,
int AttrIdx) |
static CXString |
clang_HTMLStartTag_getAttrValue(CXComment Comment,
int AttrIdx) |
static int |
clang_HTMLStartTag_getNumAttrs(CXComment Comment) |
static int |
clang_HTMLStartTagComment_isSelfClosing(CXComment Comment) |
static CXString |
clang_HTMLTagComment_getAsString(CXComment Comment)
Convert an HTML tag AST node to string.
|
static CXString |
clang_HTMLTagComment_getTagName(CXComment Comment) |
static CXIdxClientContainer |
clang_index_getClientContainer(CXIdxContainerInfo arg0)
For retrieving a custom CXIdxClientContainer attached to a
container.
|
static CXIdxClientEntity |
clang_index_getClientEntity(CXIdxEntityInfo arg0)
For retrieving a custom CXIdxClientEntity attached to an entity.
|
static CXIdxCXXClassDeclInfo |
clang_index_getCXXClassDeclInfo(CXIdxDeclInfo arg0) |
static CXIdxIBOutletCollectionAttrInfo |
clang_index_getIBOutletCollectionAttrInfo(CXIdxAttrInfo arg0) |
static CXIdxObjCCategoryDeclInfo |
clang_index_getObjCCategoryDeclInfo(CXIdxDeclInfo arg0) |
static CXIdxObjCContainerDeclInfo |
clang_index_getObjCContainerDeclInfo(CXIdxDeclInfo arg0) |
static CXIdxObjCInterfaceDeclInfo |
clang_index_getObjCInterfaceDeclInfo(CXIdxDeclInfo arg0) |
static CXIdxObjCPropertyDeclInfo |
clang_index_getObjCPropertyDeclInfo(CXIdxDeclInfo arg0) |
static CXIdxObjCProtocolRefListInfo |
clang_index_getObjCProtocolRefListInfo(CXIdxDeclInfo arg0) |
static int |
clang_index_isEntityObjCContainerKind(int arg0) |
static void |
clang_index_setClientContainer(CXIdxContainerInfo arg0,
CXIdxClientContainer arg1)
For setting a custom CXIdxClientContainer attached to a
container.
|
static void |
clang_index_setClientEntity(CXIdxEntityInfo arg0,
CXIdxClientEntity arg1)
For setting a custom CXIdxClientEntity attached to an entity.
|
static CXIndexAction |
clang_IndexAction_create(CXIndex CIdx)
An indexing action/session, to be applied to one or multiple
translation units.
|
static void |
clang_IndexAction_dispose(CXIndexAction arg0)
Destroy the given index action.
|
static CXSourceLocation |
clang_indexLoc_getCXSourceLocation(CXIdxLoc loc)
Retrieve the CXSourceLocation represented by the given CXIdxLoc.
|
static void |
clang_indexLoc_getFileLocation(CXIdxLoc loc,
CXIdxClientFile indexFile,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang_indexLoc_getFileLocation(CXIdxLoc loc,
CXIdxClientFile indexFile,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang_indexLoc_getFileLocation(CXIdxLoc loc,
CXIdxClientFile indexFile,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the CXIdxFile, file, line, column, and offset represented by
the given CXIdxLoc.
|
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options) |
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options) |
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options) |
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
PointerPointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options)
Index the given source file and the translation unit corresponding
to that file via callbacks implemented through #IndexerCallbacks.
|
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
String source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
PointerPointer out_TU,
int TU_options) |
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
String source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
PointerPointer out_TU,
int TU_options) |
static int |
clang_indexSourceFile(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
String source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
PointerPointer out_TU,
int TU_options) |
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options) |
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options) |
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options) |
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
BytePointer source_filename,
PointerPointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
CXTranslationUnit out_TU,
int TU_options)
Same as clang_indexSourceFile but requires a full command line
for \c command_line_args including argv[0].
|
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
String source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
PointerPointer out_TU,
int TU_options) |
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
String source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
PointerPointer out_TU,
int TU_options) |
static int |
clang_indexSourceFileFullArgv(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
String source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
PointerPointer out_TU,
int TU_options) |
static int |
clang_indexTranslationUnit(CXIndexAction arg0,
CXClientData client_data,
IndexerCallbacks index_callbacks,
int index_callbacks_size,
int index_options,
CXTranslationUnit arg5)
Index the given translation unit via callbacks implemented through
#IndexerCallbacks.
|
static CXString |
clang_InlineCommandComment_getArgText(CXComment Comment,
int ArgIdx) |
static CXString |
clang_InlineCommandComment_getCommandName(CXComment Comment) |
static int |
clang_InlineCommandComment_getNumArgs(CXComment Comment) |
static int |
clang_InlineCommandComment_getRenderKind(CXComment Comment) |
static int |
clang_InlineContentComment_hasTrailingNewline(CXComment Comment) |
static int |
clang_isAttribute(int arg0)
Determine whether the given cursor kind represents an attribute.
|
static int |
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.
|
static int |
clang_isCursorDefinition(CXCursor arg0)
Determine whether the declaration pointed to by this cursor
is also a definition of that entity.
|
static int |
clang_isDeclaration(int arg0)
Determine whether the given cursor kind represents a declaration.
|
static int |
clang_isExpression(int arg0)
Determine whether the given cursor kind represents an expression.
|
static int |
clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu,
CXFile file)
Determine whether the given header is guarded against
multiple inclusions, either with the conventional
\#ifndef/\#define/\#endif macro guards or with \#pragma once.
|
static int |
clang_isFunctionTypeVariadic(CXType T)
Return 1 if the CXType is a variadic function type, and 0 otherwise.
|
static int |
clang_isInvalid(int arg0)
Determine whether the given cursor kind represents an invalid
cursor.
|
static int |
clang_isInvalidDeclaration(CXCursor arg0)
Determine whether the given declaration is invalid.
|
static int |
clang_isPODType(CXType T)
Return 1 if the CXType is a POD (plain old data) type, and 0
otherwise.
|
static int |
clang_isPreprocessing(int arg0)
Determine whether the given cursor represents a preprocessing
element, such as a preprocessor directive or macro instantiation.
|
static int |
clang_isReference(int arg0)
Determine whether the given cursor kind represents a simple
reference.
|
static int |
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.
|
static int |
clang_isStatement(int arg0)
Determine whether the given cursor kind represents a statement.
|
static int |
clang_isTranslationUnit(int arg0)
Determine whether the given cursor kind represents a translation
unit.
|
static int |
clang_isUnexposed(int arg0)
Determine whether the given cursor represents a currently
unexposed piece of the AST (e.g., CXCursor_UnexposedStmt).
|
static int |
clang_isVirtualBase(CXCursor arg0)
Returns 1 if the base class specified by the cursor with kind
CX_CXXBaseSpecifier is virtual.
|
static int |
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.
|
static CXDiagnosticSet |
clang_loadDiagnostics(BytePointer file,
int[] error,
CXString errorString) |
static CXDiagnosticSet |
clang_loadDiagnostics(BytePointer file,
IntBuffer error,
CXString errorString) |
static CXDiagnosticSet |
clang_loadDiagnostics(BytePointer file,
IntPointer error,
CXString errorString)
Deserialize a set of diagnostics from a Clang diagnostics bitcode
file.
|
static CXDiagnosticSet |
clang_loadDiagnostics(String file,
int[] error,
CXString errorString) |
static CXDiagnosticSet |
clang_loadDiagnostics(String file,
IntBuffer error,
CXString errorString) |
static CXDiagnosticSet |
clang_loadDiagnostics(String file,
IntPointer error,
CXString errorString) |
static int |
clang_Location_isFromMainFile(CXSourceLocation location)
Returns non-zero if the given source location is in the main file of
the corresponding translation unit.
|
static int |
clang_Location_isInSystemHeader(CXSourceLocation location)
Returns non-zero if the given source location is in a system header.
|
static CXFile |
clang_Module_getASTFile(CXModule Module) |
static CXString |
clang_Module_getFullName(CXModule Module) |
static CXString |
clang_Module_getName(CXModule Module) |
static int |
clang_Module_getNumTopLevelHeaders(CXTranslationUnit arg0,
CXModule Module) |
static CXModule |
clang_Module_getParent(CXModule Module) |
static CXFile |
clang_Module_getTopLevelHeader(CXTranslationUnit arg0,
CXModule Module,
int Index) |
static int |
clang_Module_isSystem(CXModule Module) |
static CXModuleMapDescriptor |
clang_ModuleMapDescriptor_create(int options)
Create a \c CXModuleMapDescriptor object.
|
static void |
clang_ModuleMapDescriptor_dispose(CXModuleMapDescriptor arg0)
Dispose a \c CXModuleMapDescriptor object.
|
static int |
clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor arg0,
BytePointer name)
Sets the framework module name that the module.map describes.
|
static int |
clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor arg0,
String name) |
static int |
clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor arg0,
BytePointer name)
Sets the umbrella header name that the module.map describes.
|
static int |
clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor arg0,
String name) |
static int |
clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0,
int options,
byte[] out_buffer_ptr,
int[] out_buffer_size) |
static int |
clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0,
int options,
ByteBuffer out_buffer_ptr,
IntBuffer out_buffer_size) |
static int |
clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0,
int options,
BytePointer out_buffer_ptr,
IntPointer out_buffer_size) |
static int |
clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0,
int options,
PointerPointer out_buffer_ptr,
IntPointer out_buffer_size)
Write out the \c CXModuleMapDescriptor object to a char buffer.
|
static int |
clang_ParamCommandComment_getDirection(CXComment Comment) |
static int |
clang_ParamCommandComment_getParamIndex(CXComment Comment) |
static CXString |
clang_ParamCommandComment_getParamName(CXComment Comment) |
static int |
clang_ParamCommandComment_isDirectionExplicit(CXComment Comment) |
static int |
clang_ParamCommandComment_isParamIndexValid(CXComment Comment) |
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
BytePointer source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
BytePointer source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
BytePointer source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
BytePointer source_filename,
PointerPointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options)
Same as \c clang_parseTranslationUnit2, but returns
the \c CXTranslationUnit instead of an error code.
|
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
String source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
String source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static CXTranslationUnit |
clang_parseTranslationUnit(CXIndex CIdx,
String source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options) |
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
BytePointer source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU) |
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
BytePointer source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU) |
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
BytePointer source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU) |
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
BytePointer source_filename,
PointerPointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU)
Parse the given source file and the translation unit corresponding
to that file.
|
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
String source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
PointerPointer out_TU) |
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
String source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
PointerPointer out_TU) |
static int |
clang_parseTranslationUnit2(CXIndex CIdx,
String source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
PointerPointer out_TU) |
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
BytePointer source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU) |
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
BytePointer source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU) |
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
BytePointer source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU) |
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
BytePointer source_filename,
PointerPointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
CXTranslationUnit out_TU)
Same as clang_parseTranslationUnit2 but requires a full command line
for \c command_line_args including argv[0].
|
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
String source_filename,
byte[] command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
PointerPointer out_TU) |
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
String source_filename,
ByteBuffer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
PointerPointer out_TU) |
static int |
clang_parseTranslationUnit2FullArgv(CXIndex CIdx,
String source_filename,
BytePointer command_line_args,
int num_command_line_args,
CXUnsavedFile unsaved_files,
int num_unsaved_files,
int options,
PointerPointer out_TU) |
static void |
clang_PrintingPolicy_dispose(CXPrintingPolicy Policy)
Release a printing policy.
|
static int |
clang_PrintingPolicy_getProperty(CXPrintingPolicy Policy,
int Property)
Get a property value for the given printing policy.
|
static void |
clang_PrintingPolicy_setProperty(CXPrintingPolicy Policy,
int Property,
int Value)
Set a property value for the given printing policy.
|
static int |
clang_Range_isNull(CXSourceRange range)
Returns non-zero if \p range is null.
|
static void |
clang_remap_dispose(CXRemapping arg0)
Dispose the remapping.
|
static void |
clang_remap_getFilenames(CXRemapping arg0,
int index,
CXString original,
CXString transformed)
Get the original and the associated filename from the remapping.
|
static int |
clang_remap_getNumFiles(CXRemapping arg0)
Determine the number of remappings.
|
static int |
clang_reparseTranslationUnit(CXTranslationUnit TU,
int num_unsaved_files,
CXUnsavedFile unsaved_files,
int options)
Reparse the source files that produced this translation unit.
|
static int |
clang_saveTranslationUnit(CXTranslationUnit TU,
BytePointer FileName,
int options)
Saves a translation unit into a serialized representation of
that translation unit on disk.
|
static int |
clang_saveTranslationUnit(CXTranslationUnit TU,
String FileName,
int options) |
static void |
clang_sortCodeCompletionResults(CXCompletionResult Results,
int NumResults)
Sort the code-completion results in case-insensitive alphabetical
order.
|
static int |
clang_suspendTranslationUnit(CXTranslationUnit arg0)
Suspend a translation unit in order to free memory associated with it.
|
static void |
clang_TargetInfo_dispose(CXTargetInfo Info)
Destroy the CXTargetInfo object.
|
static int |
clang_TargetInfo_getPointerWidth(CXTargetInfo Info)
Get the pointer width of the target in bits.
|
static CXString |
clang_TargetInfo_getTriple(CXTargetInfo Info)
Get the normalized target triple as a string.
|
static CXString |
clang_TextComment_getText(CXComment Comment) |
static void |
clang_toggleCrashRecovery(int isEnabled)
Enable/disable crash recovery.
|
static void |
clang_tokenize(CXTranslationUnit TU,
CXSourceRange Range,
CXToken Tokens,
int[] NumTokens) |
static void |
clang_tokenize(CXTranslationUnit TU,
CXSourceRange Range,
CXToken Tokens,
IntBuffer NumTokens) |
static void |
clang_tokenize(CXTranslationUnit TU,
CXSourceRange Range,
CXToken Tokens,
IntPointer NumTokens) |
static void |
clang_tokenize(CXTranslationUnit TU,
CXSourceRange Range,
PointerPointer Tokens,
IntPointer NumTokens)
Tokenize the source code described by the given range into raw
lexical tokens.
|
static int |
clang_TParamCommandComment_getDepth(CXComment Comment) |
static int |
clang_TParamCommandComment_getIndex(CXComment Comment,
int Depth) |
static CXString |
clang_TParamCommandComment_getParamName(CXComment Comment) |
static int |
clang_TParamCommandComment_isParamPositionValid(CXComment Comment) |
static long |
clang_Type_getAlignOf(CXType T)
Return the alignment of a type in bytes as per C++[expr.alignof]
standard.
|
static CXType |
clang_Type_getClassType(CXType T)
Return the class type of an member pointer type.
|
static int |
clang_Type_getCXXRefQualifier(CXType T)
Retrieve the ref-qualifier kind of a function or method.
|
static CXType |
clang_Type_getModifiedType(CXType T)
Return the type that was modified by this attributed type.
|
static CXType |
clang_Type_getNamedType(CXType T)
Retrieve the type named by the qualified-id.
|
static int |
clang_Type_getNullability(CXType T)
Retrieve the nullability kind of a pointer type.
|
static int |
clang_Type_getNumObjCProtocolRefs(CXType T)
Retrieve the number of protocol references associated with an ObjC object/id.
|
static int |
clang_Type_getNumObjCTypeArgs(CXType T)
Retrieve the number of type arguments associated with an ObjC object.
|
static int |
clang_Type_getNumTemplateArguments(CXType T)
Returns the number of template arguments for given template
specialization, or -1 if type \c T is not a template specialization.
|
static CXString |
clang_Type_getObjCEncoding(CXType type)
Returns the Objective-C type encoding for the specified CXType.
|
static CXType |
clang_Type_getObjCObjectBaseType(CXType T)
Retrieves the base type of the ObjCObjectType.
|
static CXCursor |
clang_Type_getObjCProtocolDecl(CXType T,
int i)
Retrieve the decl for a protocol reference for an ObjC object/id.
|
static CXType |
clang_Type_getObjCTypeArg(CXType T,
int i)
Retrieve a type argument associated with an ObjC object.
|
static long |
clang_Type_getOffsetOf(CXType T,
BytePointer 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, CXTypeLayoutError_Invalid
is returned.
|
static long |
clang_Type_getOffsetOf(CXType T,
String S) |
static long |
clang_Type_getSizeOf(CXType T)
Return the size of a type in bytes as per C++[expr.sizeof] standard.
|
static CXType |
clang_Type_getTemplateArgumentAsType(CXType T,
int i)
Returns the type template argument of a template class specialization
at given index.
|
static CXType |
clang_Type_getValueType(CXType CT)
Gets the type contained by this atomic type.
|
static int |
clang_Type_isTransparentTagTypedef(CXType T)
Determine if a typedef is 'transparent' tag.
|
static int |
clang_Type_visitFields(CXType T,
CXFieldVisitor visitor,
CXClientData client_data)
Visit the fields of a particular type.
|
static CXString |
clang_VerbatimBlockLineComment_getText(CXComment Comment) |
static CXString |
clang_VerbatimLineComment_getText(CXComment Comment) |
static int |
clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay arg0,
BytePointer virtualPath,
BytePointer realPath)
Map an absolute virtual file path to an absolute real one.
|
static int |
clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay arg0,
String virtualPath,
String realPath) |
static CXVirtualFileOverlay |
clang_VirtualFileOverlay_create(int options)
Create a \c CXVirtualFileOverlay object.
|
static void |
clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay arg0)
Dispose a \c CXVirtualFileOverlay object.
|
static int |
clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay arg0,
int caseSensitive)
Set the case sensitivity for the \c CXVirtualFileOverlay object.
|
static int |
clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0,
int options,
byte[] out_buffer_ptr,
int[] out_buffer_size) |
static int |
clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0,
int options,
ByteBuffer out_buffer_ptr,
IntBuffer out_buffer_size) |
static int |
clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0,
int options,
BytePointer out_buffer_ptr,
IntPointer out_buffer_size) |
static int |
clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0,
int options,
PointerPointer out_buffer_ptr,
IntPointer out_buffer_size)
Write out the \c CXVirtualFileOverlay object to a char buffer.
|
static int |
clang_visitChildren(CXCursor parent,
CXCursorVisitor visitor,
CXClientData client_data)
Visit the children of a particular cursor.
|
public static final int CXError_Success
public static final int CXError_Failure
public static final int CXError_Crashed
public static final int CXError_InvalidArguments
public static final int CXError_ASTReadError
public static final int CXCompilationDatabase_NoError
public static final int CXCompilationDatabase_CanNotLoadDatabase
public static final int CXDiagnostic_Ignored
public static final int CXDiagnostic_Note
public static final int CXDiagnostic_Warning
public static final int CXDiagnostic_Error
public static final int CXDiagnostic_Fatal
public static final int CXLoadDiag_None
public static final int CXLoadDiag_Unknown
public static final int CXLoadDiag_CannotLoad
public static final int CXLoadDiag_InvalidFile
public static final int CXDiagnostic_DisplaySourceLocation
public static final int CXDiagnostic_DisplayColumn
public static final int CXDiagnostic_DisplaySourceRanges
public static final int CXDiagnostic_DisplayOption
public static final int CXDiagnostic_DisplayCategoryId
public static final int CXDiagnostic_DisplayCategoryName
public static final int CINDEX_VERSION_MAJOR
public static final int CINDEX_VERSION_MINOR
public static final int CINDEX_VERSION
public static final int CXAvailability_Available
public static final int CXAvailability_Deprecated
public static final int CXAvailability_NotAvailable
public static final int CXAvailability_NotAccessible
public static final int CXCursor_ExceptionSpecificationKind_None
public static final int CXCursor_ExceptionSpecificationKind_DynamicNone
public static final int CXCursor_ExceptionSpecificationKind_Dynamic
public static final int CXCursor_ExceptionSpecificationKind_MSAny
public static final int CXCursor_ExceptionSpecificationKind_BasicNoexcept
public static final int CXCursor_ExceptionSpecificationKind_ComputedNoexcept
public static final int CXCursor_ExceptionSpecificationKind_Unevaluated
public static final int CXCursor_ExceptionSpecificationKind_Uninstantiated
public static final int CXCursor_ExceptionSpecificationKind_Unparsed
public static final int CXCursor_ExceptionSpecificationKind_NoThrow
public static final int CXChoice_Default
public static final int CXChoice_Enabled
public static final int CXChoice_Disabled
public static final int CXGlobalOpt_None
public static final int CXGlobalOpt_ThreadBackgroundPriorityForIndexing
public static final int CXGlobalOpt_ThreadBackgroundPriorityForEditing
public static final int CXGlobalOpt_ThreadBackgroundPriorityForAll
public static final int CXTranslationUnit_None
public static final int CXTranslationUnit_DetailedPreprocessingRecord
public static final int CXTranslationUnit_Incomplete
public static final int CXTranslationUnit_PrecompiledPreamble
public static final int CXTranslationUnit_CacheCompletionResults
public static final int CXTranslationUnit_ForSerialization
public static final int CXTranslationUnit_CXXChainedPCH
public static final int CXTranslationUnit_SkipFunctionBodies
public static final int CXTranslationUnit_IncludeBriefCommentsInCodeCompletion
public static final int CXTranslationUnit_CreatePreambleOnFirstParse
public static final int CXTranslationUnit_KeepGoing
public static final int CXTranslationUnit_SingleFileParse
public static final int CXTranslationUnit_LimitSkipFunctionBodiesToPreamble
public static final int CXTranslationUnit_IncludeAttributedTypes
public static final int CXTranslationUnit_VisitImplicitAttributes
public static final int CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles
public static final int CXTranslationUnit_RetainExcludedConditionalBlocks
public static final int CXSaveTranslationUnit_None
public static final int CXSaveError_None
public static final int CXSaveError_Unknown
public static final int CXSaveError_TranslationErrors
public static final int CXSaveError_InvalidTU
public static final int CXReparse_None
public static final int CXTUResourceUsage_AST
public static final int CXTUResourceUsage_Identifiers
public static final int CXTUResourceUsage_Selectors
public static final int CXTUResourceUsage_GlobalCompletionResults
public static final int CXTUResourceUsage_SourceManagerContentCache
public static final int CXTUResourceUsage_AST_SideTables
public static final int CXTUResourceUsage_SourceManager_Membuffer_Malloc
public static final int CXTUResourceUsage_SourceManager_Membuffer_MMap
public static final int CXTUResourceUsage_ExternalASTSource_Membuffer_Malloc
public static final int CXTUResourceUsage_ExternalASTSource_Membuffer_MMap
public static final int CXTUResourceUsage_Preprocessor
public static final int CXTUResourceUsage_PreprocessingRecord
public static final int CXTUResourceUsage_SourceManager_DataStructures
public static final int CXTUResourceUsage_Preprocessor_HeaderSearch
public static final int CXTUResourceUsage_MEMORY_IN_BYTES_BEGIN
public static final int CXTUResourceUsage_MEMORY_IN_BYTES_END
public static final int CXTUResourceUsage_First
public static final int CXTUResourceUsage_Last
public static final int CXCursor_UnexposedDecl
public static final int CXCursor_StructDecl
public static final int CXCursor_UnionDecl
public static final int CXCursor_ClassDecl
public static final int CXCursor_EnumDecl
public static final int CXCursor_FieldDecl
public static final int CXCursor_EnumConstantDecl
public static final int CXCursor_FunctionDecl
public static final int CXCursor_VarDecl
public static final int CXCursor_ParmDecl
public static final int CXCursor_ObjCInterfaceDecl
public static final int CXCursor_ObjCCategoryDecl
public static final int CXCursor_ObjCProtocolDecl
public static final int CXCursor_ObjCPropertyDecl
public static final int CXCursor_ObjCIvarDecl
public static final int CXCursor_ObjCInstanceMethodDecl
public static final int CXCursor_ObjCClassMethodDecl
public static final int CXCursor_ObjCImplementationDecl
public static final int CXCursor_ObjCCategoryImplDecl
public static final int CXCursor_TypedefDecl
public static final int CXCursor_CXXMethod
public static final int CXCursor_Namespace
public static final int CXCursor_LinkageSpec
public static final int CXCursor_Constructor
public static final int CXCursor_Destructor
public static final int CXCursor_ConversionFunction
public static final int CXCursor_TemplateTypeParameter
public static final int CXCursor_NonTypeTemplateParameter
public static final int CXCursor_TemplateTemplateParameter
public static final int CXCursor_FunctionTemplate
public static final int CXCursor_ClassTemplate
public static final int CXCursor_ClassTemplatePartialSpecialization
public static final int CXCursor_NamespaceAlias
public static final int CXCursor_UsingDirective
public static final int CXCursor_UsingDeclaration
public static final int CXCursor_TypeAliasDecl
public static final int CXCursor_ObjCSynthesizeDecl
public static final int CXCursor_ObjCDynamicDecl
public static final int CXCursor_CXXAccessSpecifier
public static final int CXCursor_FirstDecl
public static final int CXCursor_LastDecl
public static final int CXCursor_FirstRef
public static final int CXCursor_ObjCSuperClassRef
public static final int CXCursor_ObjCProtocolRef
public static final int CXCursor_ObjCClassRef
public static final int CXCursor_TypeRef
public static final int CXCursor_CXXBaseSpecifier
public static final int CXCursor_TemplateRef
public static final int CXCursor_NamespaceRef
public static final int CXCursor_MemberRef
public static final int CXCursor_LabelRef
public static final int CXCursor_OverloadedDeclRef
public static final int CXCursor_VariableRef
public static final int CXCursor_LastRef
public static final int CXCursor_FirstInvalid
public static final int CXCursor_InvalidFile
public static final int CXCursor_NoDeclFound
public static final int CXCursor_NotImplemented
public static final int CXCursor_InvalidCode
public static final int CXCursor_LastInvalid
public static final int CXCursor_FirstExpr
public static final int CXCursor_UnexposedExpr
public static final int CXCursor_DeclRefExpr
public static final int CXCursor_MemberRefExpr
public static final int CXCursor_CallExpr
public static final int CXCursor_ObjCMessageExpr
public static final int CXCursor_BlockExpr
public static final int CXCursor_IntegerLiteral
public static final int CXCursor_FloatingLiteral
public static final int CXCursor_ImaginaryLiteral
public static final int CXCursor_StringLiteral
public static final int CXCursor_CharacterLiteral
public static final int CXCursor_ParenExpr
public static final int CXCursor_UnaryOperator
public static final int CXCursor_ArraySubscriptExpr
public static final int CXCursor_BinaryOperator
public static final int CXCursor_CompoundAssignOperator
public static final int CXCursor_ConditionalOperator
public static final int CXCursor_CStyleCastExpr
public static final int CXCursor_CompoundLiteralExpr
public static final int CXCursor_InitListExpr
public static final int CXCursor_AddrLabelExpr
public static final int CXCursor_StmtExpr
public static final int CXCursor_GenericSelectionExpr
public static final int CXCursor_GNUNullExpr
public static final int CXCursor_CXXStaticCastExpr
public static final int CXCursor_CXXDynamicCastExpr
public static final int CXCursor_CXXReinterpretCastExpr
public static final int CXCursor_CXXConstCastExpr
public static final int CXCursor_CXXFunctionalCastExpr
public static final int CXCursor_CXXTypeidExpr
public static final int CXCursor_CXXBoolLiteralExpr
public static final int CXCursor_CXXNullPtrLiteralExpr
public static final int CXCursor_CXXThisExpr
public static final int CXCursor_CXXThrowExpr
public static final int CXCursor_CXXNewExpr
public static final int CXCursor_CXXDeleteExpr
public static final int CXCursor_UnaryExpr
public static final int CXCursor_ObjCStringLiteral
public static final int CXCursor_ObjCEncodeExpr
public static final int CXCursor_ObjCSelectorExpr
public static final int CXCursor_ObjCProtocolExpr
public static final int CXCursor_ObjCBridgedCastExpr
public static final int CXCursor_PackExpansionExpr
public static final int CXCursor_SizeOfPackExpr
public static final int CXCursor_LambdaExpr
public static final int CXCursor_ObjCBoolLiteralExpr
public static final int CXCursor_ObjCSelfExpr
public static final int CXCursor_OMPArraySectionExpr
public static final int CXCursor_ObjCAvailabilityCheckExpr
public static final int CXCursor_FixedPointLiteral
public static final int CXCursor_OMPArrayShapingExpr
public static final int CXCursor_OMPIteratorExpr
public static final int CXCursor_CXXAddrspaceCastExpr
public static final int CXCursor_ConceptSpecializationExpr
public static final int CXCursor_RequiresExpr
public static final int CXCursor_CXXParenListInitExpr
public static final int CXCursor_LastExpr
public static final int CXCursor_FirstStmt
public static final int CXCursor_UnexposedStmt
public static final int CXCursor_LabelStmt
public static final int CXCursor_CompoundStmt
public static final int CXCursor_CaseStmt
public static final int CXCursor_DefaultStmt
public static final int CXCursor_IfStmt
public static final int CXCursor_SwitchStmt
public static final int CXCursor_WhileStmt
public static final int CXCursor_DoStmt
public static final int CXCursor_ForStmt
public static final int CXCursor_GotoStmt
public static final int CXCursor_IndirectGotoStmt
public static final int CXCursor_ContinueStmt
public static final int CXCursor_BreakStmt
public static final int CXCursor_ReturnStmt
public static final int CXCursor_GCCAsmStmt
public static final int CXCursor_AsmStmt
public static final int CXCursor_ObjCAtTryStmt
public static final int CXCursor_ObjCAtCatchStmt
public static final int CXCursor_ObjCAtFinallyStmt
public static final int CXCursor_ObjCAtThrowStmt
public static final int CXCursor_ObjCAtSynchronizedStmt
public static final int CXCursor_ObjCAutoreleasePoolStmt
public static final int CXCursor_ObjCForCollectionStmt
public static final int CXCursor_CXXCatchStmt
public static final int CXCursor_CXXTryStmt
public static final int CXCursor_CXXForRangeStmt
public static final int CXCursor_SEHTryStmt
public static final int CXCursor_SEHExceptStmt
public static final int CXCursor_SEHFinallyStmt
public static final int CXCursor_MSAsmStmt
public static final int CXCursor_NullStmt
public static final int CXCursor_DeclStmt
public static final int CXCursor_OMPParallelDirective
public static final int CXCursor_OMPSimdDirective
public static final int CXCursor_OMPForDirective
public static final int CXCursor_OMPSectionsDirective
public static final int CXCursor_OMPSectionDirective
public static final int CXCursor_OMPSingleDirective
public static final int CXCursor_OMPParallelForDirective
public static final int CXCursor_OMPParallelSectionsDirective
public static final int CXCursor_OMPTaskDirective
public static final int CXCursor_OMPMasterDirective
public static final int CXCursor_OMPCriticalDirective
public static final int CXCursor_OMPTaskyieldDirective
public static final int CXCursor_OMPBarrierDirective
public static final int CXCursor_OMPTaskwaitDirective
public static final int CXCursor_OMPFlushDirective
public static final int CXCursor_SEHLeaveStmt
public static final int CXCursor_OMPOrderedDirective
public static final int CXCursor_OMPAtomicDirective
public static final int CXCursor_OMPForSimdDirective
public static final int CXCursor_OMPParallelForSimdDirective
public static final int CXCursor_OMPTargetDirective
public static final int CXCursor_OMPTeamsDirective
public static final int CXCursor_OMPTaskgroupDirective
public static final int CXCursor_OMPCancellationPointDirective
public static final int CXCursor_OMPCancelDirective
public static final int CXCursor_OMPTargetDataDirective
public static final int CXCursor_OMPTaskLoopDirective
public static final int CXCursor_OMPTaskLoopSimdDirective
public static final int CXCursor_OMPDistributeDirective
public static final int CXCursor_OMPTargetEnterDataDirective
public static final int CXCursor_OMPTargetExitDataDirective
public static final int CXCursor_OMPTargetParallelDirective
public static final int CXCursor_OMPTargetParallelForDirective
public static final int CXCursor_OMPTargetUpdateDirective
public static final int CXCursor_OMPDistributeParallelForDirective
public static final int CXCursor_OMPDistributeParallelForSimdDirective
public static final int CXCursor_OMPDistributeSimdDirective
public static final int CXCursor_OMPTargetParallelForSimdDirective
public static final int CXCursor_OMPTargetSimdDirective
public static final int CXCursor_OMPTeamsDistributeDirective
public static final int CXCursor_OMPTeamsDistributeSimdDirective
public static final int CXCursor_OMPTeamsDistributeParallelForSimdDirective
public static final int CXCursor_OMPTeamsDistributeParallelForDirective
public static final int CXCursor_OMPTargetTeamsDirective
public static final int CXCursor_OMPTargetTeamsDistributeDirective
public static final int CXCursor_OMPTargetTeamsDistributeParallelForDirective
public static final int CXCursor_OMPTargetTeamsDistributeParallelForSimdDirective
public static final int CXCursor_OMPTargetTeamsDistributeSimdDirective
public static final int CXCursor_BuiltinBitCastExpr
public static final int CXCursor_OMPMasterTaskLoopDirective
public static final int CXCursor_OMPParallelMasterTaskLoopDirective
public static final int CXCursor_OMPMasterTaskLoopSimdDirective
public static final int CXCursor_OMPParallelMasterTaskLoopSimdDirective
public static final int CXCursor_OMPParallelMasterDirective
public static final int CXCursor_OMPDepobjDirective
public static final int CXCursor_OMPScanDirective
public static final int CXCursor_OMPTileDirective
public static final int CXCursor_OMPCanonicalLoop
public static final int CXCursor_OMPInteropDirective
public static final int CXCursor_OMPDispatchDirective
public static final int CXCursor_OMPMaskedDirective
public static final int CXCursor_OMPUnrollDirective
public static final int CXCursor_OMPMetaDirective
public static final int CXCursor_OMPGenericLoopDirective
public static final int CXCursor_OMPTeamsGenericLoopDirective
public static final int CXCursor_OMPTargetTeamsGenericLoopDirective
public static final int CXCursor_OMPParallelGenericLoopDirective
public static final int CXCursor_OMPTargetParallelGenericLoopDirective
public static final int CXCursor_OMPParallelMaskedDirective
public static final int CXCursor_OMPMaskedTaskLoopDirective
public static final int CXCursor_OMPMaskedTaskLoopSimdDirective
public static final int CXCursor_OMPParallelMaskedTaskLoopDirective
public static final int CXCursor_OMPParallelMaskedTaskLoopSimdDirective
public static final int CXCursor_OMPErrorDirective
public static final int CXCursor_LastStmt
public static final int CXCursor_TranslationUnit
public static final int CXCursor_FirstAttr
public static final int CXCursor_UnexposedAttr
public static final int CXCursor_IBActionAttr
public static final int CXCursor_IBOutletAttr
public static final int CXCursor_IBOutletCollectionAttr
public static final int CXCursor_CXXFinalAttr
public static final int CXCursor_CXXOverrideAttr
public static final int CXCursor_AnnotateAttr
public static final int CXCursor_AsmLabelAttr
public static final int CXCursor_PackedAttr
public static final int CXCursor_PureAttr
public static final int CXCursor_ConstAttr
public static final int CXCursor_NoDuplicateAttr
public static final int CXCursor_CUDAConstantAttr
public static final int CXCursor_CUDADeviceAttr
public static final int CXCursor_CUDAGlobalAttr
public static final int CXCursor_CUDAHostAttr
public static final int CXCursor_CUDASharedAttr
public static final int CXCursor_VisibilityAttr
public static final int CXCursor_DLLExport
public static final int CXCursor_DLLImport
public static final int CXCursor_NSReturnsRetained
public static final int CXCursor_NSReturnsNotRetained
public static final int CXCursor_NSReturnsAutoreleased
public static final int CXCursor_NSConsumesSelf
public static final int CXCursor_NSConsumed
public static final int CXCursor_ObjCException
public static final int CXCursor_ObjCNSObject
public static final int CXCursor_ObjCIndependentClass
public static final int CXCursor_ObjCPreciseLifetime
public static final int CXCursor_ObjCReturnsInnerPointer
public static final int CXCursor_ObjCRequiresSuper
public static final int CXCursor_ObjCRootClass
public static final int CXCursor_ObjCSubclassingRestricted
public static final int CXCursor_ObjCExplicitProtocolImpl
public static final int CXCursor_ObjCDesignatedInitializer
public static final int CXCursor_ObjCRuntimeVisible
public static final int CXCursor_ObjCBoxable
public static final int CXCursor_FlagEnum
public static final int CXCursor_ConvergentAttr
public static final int CXCursor_WarnUnusedAttr
public static final int CXCursor_WarnUnusedResultAttr
public static final int CXCursor_AlignedAttr
public static final int CXCursor_LastAttr
public static final int CXCursor_PreprocessingDirective
public static final int CXCursor_MacroDefinition
public static final int CXCursor_MacroExpansion
public static final int CXCursor_MacroInstantiation
public static final int CXCursor_InclusionDirective
public static final int CXCursor_FirstPreprocessing
public static final int CXCursor_LastPreprocessing
public static final int CXCursor_ModuleImportDecl
public static final int CXCursor_TypeAliasTemplateDecl
public static final int CXCursor_StaticAssert
public static final int CXCursor_FriendDecl
public static final int CXCursor_ConceptDecl
public static final int CXCursor_FirstExtraDecl
public static final int CXCursor_LastExtraDecl
public static final int CXCursor_OverloadCandidate
public static final int CXLinkage_Invalid
public static final int CXLinkage_NoLinkage
public static final int CXLinkage_Internal
public static final int CXLinkage_UniqueExternal
public static final int CXLinkage_External
public static final int CXVisibility_Invalid
public static final int CXVisibility_Hidden
public static final int CXVisibility_Protected
public static final int CXVisibility_Default
public static final int CXLanguage_Invalid
public static final int CXLanguage_C
public static final int CXLanguage_ObjC
public static final int CXLanguage_CPlusPlus
public static final int CXTLS_None
public static final int CXTLS_Dynamic
public static final int CXTLS_Static
public static final int CXType_Invalid
public static final int CXType_Unexposed
public static final int CXType_Void
public static final int CXType_Bool
public static final int CXType_Char_U
public static final int CXType_UChar
public static final int CXType_Char16
public static final int CXType_Char32
public static final int CXType_UShort
public static final int CXType_UInt
public static final int CXType_ULong
public static final int CXType_ULongLong
public static final int CXType_UInt128
public static final int CXType_Char_S
public static final int CXType_SChar
public static final int CXType_WChar
public static final int CXType_Short
public static final int CXType_Int
public static final int CXType_Long
public static final int CXType_LongLong
public static final int CXType_Int128
public static final int CXType_Float
public static final int CXType_Double
public static final int CXType_LongDouble
public static final int CXType_NullPtr
public static final int CXType_Overload
public static final int CXType_Dependent
public static final int CXType_ObjCId
public static final int CXType_ObjCClass
public static final int CXType_ObjCSel
public static final int CXType_Float128
public static final int CXType_Half
public static final int CXType_Float16
public static final int CXType_ShortAccum
public static final int CXType_Accum
public static final int CXType_LongAccum
public static final int CXType_UShortAccum
public static final int CXType_UAccum
public static final int CXType_ULongAccum
public static final int CXType_BFloat16
public static final int CXType_Ibm128
public static final int CXType_FirstBuiltin
public static final int CXType_LastBuiltin
public static final int CXType_Complex
public static final int CXType_Pointer
public static final int CXType_BlockPointer
public static final int CXType_LValueReference
public static final int CXType_RValueReference
public static final int CXType_Record
public static final int CXType_Enum
public static final int CXType_Typedef
public static final int CXType_ObjCInterface
public static final int CXType_ObjCObjectPointer
public static final int CXType_FunctionNoProto
public static final int CXType_FunctionProto
public static final int CXType_ConstantArray
public static final int CXType_Vector
public static final int CXType_IncompleteArray
public static final int CXType_VariableArray
public static final int CXType_DependentSizedArray
public static final int CXType_MemberPointer
public static final int CXType_Auto
public static final int CXType_Elaborated
public static final int CXType_Pipe
public static final int CXType_OCLImage1dRO
public static final int CXType_OCLImage1dArrayRO
public static final int CXType_OCLImage1dBufferRO
public static final int CXType_OCLImage2dRO
public static final int CXType_OCLImage2dArrayRO
public static final int CXType_OCLImage2dDepthRO
public static final int CXType_OCLImage2dArrayDepthRO
public static final int CXType_OCLImage2dMSAARO
public static final int CXType_OCLImage2dArrayMSAARO
public static final int CXType_OCLImage2dMSAADepthRO
public static final int CXType_OCLImage2dArrayMSAADepthRO
public static final int CXType_OCLImage3dRO
public static final int CXType_OCLImage1dWO
public static final int CXType_OCLImage1dArrayWO
public static final int CXType_OCLImage1dBufferWO
public static final int CXType_OCLImage2dWO
public static final int CXType_OCLImage2dArrayWO
public static final int CXType_OCLImage2dDepthWO
public static final int CXType_OCLImage2dArrayDepthWO
public static final int CXType_OCLImage2dMSAAWO
public static final int CXType_OCLImage2dArrayMSAAWO
public static final int CXType_OCLImage2dMSAADepthWO
public static final int CXType_OCLImage2dArrayMSAADepthWO
public static final int CXType_OCLImage3dWO
public static final int CXType_OCLImage1dRW
public static final int CXType_OCLImage1dArrayRW
public static final int CXType_OCLImage1dBufferRW
public static final int CXType_OCLImage2dRW
public static final int CXType_OCLImage2dArrayRW
public static final int CXType_OCLImage2dDepthRW
public static final int CXType_OCLImage2dArrayDepthRW
public static final int CXType_OCLImage2dMSAARW
public static final int CXType_OCLImage2dArrayMSAARW
public static final int CXType_OCLImage2dMSAADepthRW
public static final int CXType_OCLImage2dArrayMSAADepthRW
public static final int CXType_OCLImage3dRW
public static final int CXType_OCLSampler
public static final int CXType_OCLEvent
public static final int CXType_OCLQueue
public static final int CXType_OCLReserveID
public static final int CXType_ObjCObject
public static final int CXType_ObjCTypeParam
public static final int CXType_Attributed
public static final int CXType_OCLIntelSubgroupAVCMcePayload
public static final int CXType_OCLIntelSubgroupAVCImePayload
public static final int CXType_OCLIntelSubgroupAVCRefPayload
public static final int CXType_OCLIntelSubgroupAVCSicPayload
public static final int CXType_OCLIntelSubgroupAVCMceResult
public static final int CXType_OCLIntelSubgroupAVCImeResult
public static final int CXType_OCLIntelSubgroupAVCRefResult
public static final int CXType_OCLIntelSubgroupAVCSicResult
public static final int CXType_OCLIntelSubgroupAVCImeResultSingleReferenceStreamout
public static final int CXType_OCLIntelSubgroupAVCImeResultDualReferenceStreamout
public static final int CXType_OCLIntelSubgroupAVCImeSingleReferenceStreamin
public static final int CXType_OCLIntelSubgroupAVCImeDualReferenceStreamin
public static final int CXType_OCLIntelSubgroupAVCImeResultSingleRefStreamout
public static final int CXType_OCLIntelSubgroupAVCImeResultDualRefStreamout
public static final int CXType_OCLIntelSubgroupAVCImeSingleRefStreamin
public static final int CXType_OCLIntelSubgroupAVCImeDualRefStreamin
public static final int CXType_ExtVector
public static final int CXType_Atomic
public static final int CXType_BTFTagAttributed
public static final int CXCallingConv_Default
public static final int CXCallingConv_C
public static final int CXCallingConv_X86StdCall
public static final int CXCallingConv_X86FastCall
public static final int CXCallingConv_X86ThisCall
public static final int CXCallingConv_X86Pascal
public static final int CXCallingConv_AAPCS
public static final int CXCallingConv_AAPCS_VFP
public static final int CXCallingConv_X86RegCall
public static final int CXCallingConv_IntelOclBicc
public static final int CXCallingConv_Win64
public static final int CXCallingConv_X86_64Win64
public static final int CXCallingConv_X86_64SysV
public static final int CXCallingConv_X86VectorCall
public static final int CXCallingConv_Swift
public static final int CXCallingConv_PreserveMost
public static final int CXCallingConv_PreserveAll
public static final int CXCallingConv_AArch64VectorCall
public static final int CXCallingConv_SwiftAsync
public static final int CXCallingConv_AArch64SVEPCS
public static final int CXCallingConv_Invalid
public static final int CXCallingConv_Unexposed
public static final int CXTemplateArgumentKind_Null
public static final int CXTemplateArgumentKind_Type
public static final int CXTemplateArgumentKind_Declaration
public static final int CXTemplateArgumentKind_NullPtr
public static final int CXTemplateArgumentKind_Integral
public static final int CXTemplateArgumentKind_Template
public static final int CXTemplateArgumentKind_TemplateExpansion
public static final int CXTemplateArgumentKind_Expression
public static final int CXTemplateArgumentKind_Pack
public static final int CXTemplateArgumentKind_Invalid
public static final int CXTypeNullability_NonNull
public static final int CXTypeNullability_Nullable
public static final int CXTypeNullability_Unspecified
public static final int CXTypeNullability_Invalid
public static final int CXTypeNullability_NullableResult
public static final int CXTypeLayoutError_Invalid
public static final int CXTypeLayoutError_Incomplete
public static final int CXTypeLayoutError_Dependent
public static final int CXTypeLayoutError_NotConstantSize
public static final int CXTypeLayoutError_InvalidFieldName
public static final int CXTypeLayoutError_Undeduced
public static final int CXRefQualifier_None
public static final int CXRefQualifier_LValue
public static final int CXRefQualifier_RValue
public static final int CX_CXXInvalidAccessSpecifier
public static final int CX_CXXPublic
public static final int CX_CXXProtected
public static final int CX_CXXPrivate
public static final int CX_SC_Invalid
public static final int CX_SC_None
public static final int CX_SC_Extern
public static final int CX_SC_Static
public static final int CX_SC_PrivateExtern
public static final int CX_SC_OpenCLWorkGroupLocal
public static final int CX_SC_Auto
public static final int CX_SC_Register
public static final int CXChildVisit_Break
public static final int CXChildVisit_Continue
public static final int CXChildVisit_Recurse
public static final int CXPrintingPolicy_Indentation
public static final int CXPrintingPolicy_SuppressSpecifiers
public static final int CXPrintingPolicy_SuppressTagKeyword
public static final int CXPrintingPolicy_IncludeTagDefinition
public static final int CXPrintingPolicy_SuppressScope
public static final int CXPrintingPolicy_SuppressUnwrittenScope
public static final int CXPrintingPolicy_SuppressInitializers
public static final int CXPrintingPolicy_ConstantArraySizeAsWritten
public static final int CXPrintingPolicy_AnonymousTagLocations
public static final int CXPrintingPolicy_SuppressStrongLifetime
public static final int CXPrintingPolicy_SuppressLifetimeQualifiers
public static final int CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors
public static final int CXPrintingPolicy_Bool
public static final int CXPrintingPolicy_Restrict
public static final int CXPrintingPolicy_Alignof
public static final int CXPrintingPolicy_UnderscoreAlignof
public static final int CXPrintingPolicy_UseVoidForZeroParams
public static final int CXPrintingPolicy_TerseOutput
public static final int CXPrintingPolicy_PolishForDeclaration
public static final int CXPrintingPolicy_Half
public static final int CXPrintingPolicy_MSWChar
public static final int CXPrintingPolicy_IncludeNewlines
public static final int CXPrintingPolicy_MSVCFormatting
public static final int CXPrintingPolicy_ConstantsAsWritten
public static final int CXPrintingPolicy_SuppressImplicitBase
public static final int CXPrintingPolicy_FullyQualifiedName
public static final int CXPrintingPolicy_LastProperty
public static final int CXObjCPropertyAttr_noattr
public static final int CXObjCPropertyAttr_readonly
public static final int CXObjCPropertyAttr_getter
public static final int CXObjCPropertyAttr_assign
public static final int CXObjCPropertyAttr_readwrite
public static final int CXObjCPropertyAttr_retain
public static final int CXObjCPropertyAttr_copy
public static final int CXObjCPropertyAttr_nonatomic
public static final int CXObjCPropertyAttr_setter
public static final int CXObjCPropertyAttr_atomic
public static final int CXObjCPropertyAttr_weak
public static final int CXObjCPropertyAttr_strong
public static final int CXObjCPropertyAttr_unsafe_unretained
public static final int CXObjCPropertyAttr_class
public static final int CXObjCDeclQualifier_None
public static final int CXObjCDeclQualifier_In
public static final int CXObjCDeclQualifier_Inout
public static final int CXObjCDeclQualifier_Out
public static final int CXObjCDeclQualifier_Bycopy
public static final int CXObjCDeclQualifier_Byref
public static final int CXObjCDeclQualifier_Oneway
public static final int CXNameRange_WantQualifier
public static final int CXNameRange_WantTemplateArgs
public static final int CXNameRange_WantSinglePiece
public static final int CXToken_Punctuation
public static final int CXToken_Keyword
public static final int CXToken_Identifier
public static final int CXToken_Literal
public static final int CXToken_Comment
public static final int CXCompletionChunk_Optional
public static final int CXCompletionChunk_TypedText
public static final int CXCompletionChunk_Text
public static final int CXCompletionChunk_Placeholder
public static final int CXCompletionChunk_Informative
public static final int CXCompletionChunk_CurrentParameter
public static final int CXCompletionChunk_LeftParen
public static final int CXCompletionChunk_RightParen
public static final int CXCompletionChunk_LeftBracket
public static final int CXCompletionChunk_RightBracket
public static final int CXCompletionChunk_LeftBrace
public static final int CXCompletionChunk_RightBrace
public static final int CXCompletionChunk_LeftAngle
public static final int CXCompletionChunk_RightAngle
public static final int CXCompletionChunk_Comma
public static final int CXCompletionChunk_ResultType
public static final int CXCompletionChunk_Colon
public static final int CXCompletionChunk_SemiColon
public static final int CXCompletionChunk_Equal
public static final int CXCompletionChunk_HorizontalSpace
public static final int CXCompletionChunk_VerticalSpace
public static final int CXCodeComplete_IncludeMacros
public static final int CXCodeComplete_IncludeCodePatterns
public static final int CXCodeComplete_IncludeBriefComments
public static final int CXCodeComplete_SkipPreamble
public static final int CXCodeComplete_IncludeCompletionsWithFixIts
public static final int CXCompletionContext_Unexposed
public static final int CXCompletionContext_AnyType
public static final int CXCompletionContext_AnyValue
public static final int CXCompletionContext_ObjCObjectValue
public static final int CXCompletionContext_ObjCSelectorValue
public static final int CXCompletionContext_CXXClassTypeValue
public static final int CXCompletionContext_DotMemberAccess
public static final int CXCompletionContext_ArrowMemberAccess
public static final int CXCompletionContext_ObjCPropertyAccess
public static final int CXCompletionContext_EnumTag
public static final int CXCompletionContext_UnionTag
public static final int CXCompletionContext_StructTag
public static final int CXCompletionContext_ClassTag
public static final int CXCompletionContext_Namespace
public static final int CXCompletionContext_NestedNameSpecifier
public static final int CXCompletionContext_ObjCInterface
public static final int CXCompletionContext_ObjCProtocol
public static final int CXCompletionContext_ObjCCategory
public static final int CXCompletionContext_ObjCInstanceMessage
public static final int CXCompletionContext_ObjCClassMessage
public static final int CXCompletionContext_ObjCSelectorName
public static final int CXCompletionContext_MacroName
public static final int CXCompletionContext_NaturalLanguage
public static final int CXCompletionContext_IncludedFile
public static final int CXCompletionContext_Unknown
public static final int CXEval_Int
public static final int CXEval_Float
public static final int CXEval_ObjCStrLiteral
public static final int CXEval_StrLiteral
public static final int CXEval_CFStr
public static final int CXEval_Other
public static final int CXEval_UnExposed
public static final int CXVisit_Break
public static final int CXVisit_Continue
public static final int CXResult_Success
public static final int CXResult_Invalid
public static final int CXResult_VisitBreak
public static final int CXIdxEntity_Unexposed
public static final int CXIdxEntity_Typedef
public static final int CXIdxEntity_Function
public static final int CXIdxEntity_Variable
public static final int CXIdxEntity_Field
public static final int CXIdxEntity_EnumConstant
public static final int CXIdxEntity_ObjCClass
public static final int CXIdxEntity_ObjCProtocol
public static final int CXIdxEntity_ObjCCategory
public static final int CXIdxEntity_ObjCInstanceMethod
public static final int CXIdxEntity_ObjCClassMethod
public static final int CXIdxEntity_ObjCProperty
public static final int CXIdxEntity_ObjCIvar
public static final int CXIdxEntity_Enum
public static final int CXIdxEntity_Struct
public static final int CXIdxEntity_Union
public static final int CXIdxEntity_CXXClass
public static final int CXIdxEntity_CXXNamespace
public static final int CXIdxEntity_CXXNamespaceAlias
public static final int CXIdxEntity_CXXStaticVariable
public static final int CXIdxEntity_CXXStaticMethod
public static final int CXIdxEntity_CXXInstanceMethod
public static final int CXIdxEntity_CXXConstructor
public static final int CXIdxEntity_CXXDestructor
public static final int CXIdxEntity_CXXConversionFunction
public static final int CXIdxEntity_CXXTypeAlias
public static final int CXIdxEntity_CXXInterface
public static final int CXIdxEntity_CXXConcept
public static final int CXIdxEntityLang_None
public static final int CXIdxEntityLang_C
public static final int CXIdxEntityLang_ObjC
public static final int CXIdxEntityLang_CXX
public static final int CXIdxEntityLang_Swift
public static final int CXIdxEntity_NonTemplate
public static final int CXIdxEntity_Template
public static final int CXIdxEntity_TemplatePartialSpecialization
public static final int CXIdxEntity_TemplateSpecialization
public static final int CXIdxAttr_Unexposed
public static final int CXIdxAttr_IBAction
public static final int CXIdxAttr_IBOutlet
public static final int CXIdxAttr_IBOutletCollection
public static final int CXIdxDeclFlag_Skipped
public static final int CXIdxObjCContainer_ForwardRef
public static final int CXIdxObjCContainer_Interface
public static final int CXIdxObjCContainer_Implementation
public static final int CXIdxEntityRef_Direct
public static final int CXIdxEntityRef_Implicit
public static final int CXSymbolRole_None
public static final int CXSymbolRole_Declaration
public static final int CXSymbolRole_Definition
public static final int CXSymbolRole_Reference
public static final int CXSymbolRole_Read
public static final int CXSymbolRole_Write
public static final int CXSymbolRole_Call
public static final int CXSymbolRole_Dynamic
public static final int CXSymbolRole_AddressOf
public static final int CXSymbolRole_Implicit
public static final int CXIndexOpt_None
public static final int CXIndexOpt_SuppressRedundantRefs
public static final int CXIndexOpt_IndexFunctionLocalSymbols
public static final int CXIndexOpt_IndexImplicitTemplateInstantiations
public static final int CXIndexOpt_SuppressWarnings
public static final int CXIndexOpt_SkipParsedBodiesInSession
public static final int CXBinaryOperator_Invalid
public static final int CXBinaryOperator_PtrMemD
public static final int CXBinaryOperator_PtrMemI
public static final int CXBinaryOperator_Mul
public static final int CXBinaryOperator_Div
public static final int CXBinaryOperator_Rem
public static final int CXBinaryOperator_Add
public static final int CXBinaryOperator_Sub
public static final int CXBinaryOperator_Shl
public static final int CXBinaryOperator_Shr
public static final int CXBinaryOperator_Cmp
public static final int CXBinaryOperator_LT
public static final int CXBinaryOperator_GT
public static final int CXBinaryOperator_LE
public static final int CXBinaryOperator_GE
public static final int CXBinaryOperator_EQ
public static final int CXBinaryOperator_NE
public static final int CXBinaryOperator_And
public static final int CXBinaryOperator_Xor
public static final int CXBinaryOperator_Or
public static final int CXBinaryOperator_LAnd
public static final int CXBinaryOperator_LOr
public static final int CXBinaryOperator_Assign
public static final int CXBinaryOperator_MulAssign
public static final int CXBinaryOperator_DivAssign
public static final int CXBinaryOperator_RemAssign
public static final int CXBinaryOperator_AddAssign
public static final int CXBinaryOperator_SubAssign
public static final int CXBinaryOperator_ShlAssign
public static final int CXBinaryOperator_ShrAssign
public static final int CXBinaryOperator_AndAssign
public static final int CXBinaryOperator_XorAssign
public static final int CXBinaryOperator_OrAssign
public static final int CXBinaryOperator_Comma
public static final int CXUnaryOperator_Invalid
public static final int CXUnaryOperator_PostInc
public static final int CXUnaryOperator_PostDec
public static final int CXUnaryOperator_PreInc
public static final int CXUnaryOperator_PreDec
public static final int CXUnaryOperator_AddrOf
public static final int CXUnaryOperator_Deref
public static final int CXUnaryOperator_Plus
public static final int CXUnaryOperator_Minus
public static final int CXUnaryOperator_Not
public static final int CXUnaryOperator_LNot
public static final int CXUnaryOperator_Real
public static final int CXUnaryOperator_Imag
public static final int CXUnaryOperator_Extension
public static final int CXUnaryOperator_Coawait
public static final int CXComment_Null
public static final int CXComment_Text
public static final int CXComment_InlineCommand
public static final int CXComment_HTMLStartTag
public static final int CXComment_HTMLEndTag
public static final int CXComment_Paragraph
public static final int CXComment_BlockCommand
public static final int CXComment_ParamCommand
public static final int CXComment_TParamCommand
public static final int CXComment_VerbatimBlockCommand
public static final int CXComment_VerbatimBlockLine
public static final int CXComment_VerbatimLine
public static final int CXComment_FullComment
public static final int CXCommentInlineCommandRenderKind_Normal
public static final int CXCommentInlineCommandRenderKind_Bold
public static final int CXCommentInlineCommandRenderKind_Monospaced
public static final int CXCommentInlineCommandRenderKind_Emphasized
public static final int CXCommentInlineCommandRenderKind_Anchor
public static final int CXCommentParamPassDirection_In
public static final int CXCommentParamPassDirection_Out
public static final int CXCommentParamPassDirection_InOut
@Cast(value="const char*") public static BytePointer clang_getCString(@ByVal CXString string)
public static void clang_disposeString(@ByVal CXString string)
public static void clang_disposeStringSet(CXStringSet set)
public static CXCompilationDatabase clang_CompilationDatabase_fromDirectory(@Cast(value="const char*") BytePointer BuildDir, @Cast(value="CXCompilationDatabase_Error*") IntPointer ErrorCode)
public static CXCompilationDatabase clang_CompilationDatabase_fromDirectory(String BuildDir, @Cast(value="CXCompilationDatabase_Error*") IntBuffer ErrorCode)
public static CXCompilationDatabase clang_CompilationDatabase_fromDirectory(@Cast(value="const char*") BytePointer BuildDir, @Cast(value="CXCompilationDatabase_Error*") int[] ErrorCode)
public static CXCompilationDatabase clang_CompilationDatabase_fromDirectory(String BuildDir, @Cast(value="CXCompilationDatabase_Error*") IntPointer ErrorCode)
public static CXCompilationDatabase clang_CompilationDatabase_fromDirectory(@Cast(value="const char*") BytePointer BuildDir, @Cast(value="CXCompilationDatabase_Error*") IntBuffer ErrorCode)
public static CXCompilationDatabase clang_CompilationDatabase_fromDirectory(String BuildDir, @Cast(value="CXCompilationDatabase_Error*") int[] ErrorCode)
public static void clang_CompilationDatabase_dispose(CXCompilationDatabase arg0)
public static CXCompileCommands clang_CompilationDatabase_getCompileCommands(CXCompilationDatabase arg0, @Cast(value="const char*") BytePointer CompleteFileName)
public static CXCompileCommands clang_CompilationDatabase_getCompileCommands(CXCompilationDatabase arg0, String CompleteFileName)
public static CXCompileCommands clang_CompilationDatabase_getAllCompileCommands(CXCompilationDatabase arg0)
public static void clang_CompileCommands_dispose(CXCompileCommands arg0)
@Cast(value="unsigned") public static int clang_CompileCommands_getSize(CXCompileCommands arg0)
public static CXCompileCommand clang_CompileCommands_getCommand(CXCompileCommands arg0, @Cast(value="unsigned") int I)
@ByVal public static CXString clang_CompileCommand_getDirectory(CXCompileCommand arg0)
@ByVal public static CXString clang_CompileCommand_getFilename(CXCompileCommand arg0)
@Cast(value="unsigned") public static int clang_CompileCommand_getNumArgs(CXCompileCommand arg0)
@ByVal public static CXString clang_CompileCommand_getArg(CXCompileCommand arg0, @Cast(value="unsigned") int I)
@Cast(value="unsigned") public static int clang_CompileCommand_getNumMappedSources(CXCompileCommand arg0)
@ByVal public static CXString clang_CompileCommand_getMappedSourcePath(CXCompileCommand arg0, @Cast(value="unsigned") int I)
@ByVal public static CXString clang_CompileCommand_getMappedSourceContent(CXCompileCommand arg0, @Cast(value="unsigned") int I)
@Cast(value="unsigned long long") public static long clang_getBuildSessionTimestamp()
public static CXVirtualFileOverlay clang_VirtualFileOverlay_create(@Cast(value="unsigned") int options)
options
- is reserved, always pass 0.@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay arg0, @Cast(value="const char*") BytePointer virtualPath, @Cast(value="const char*") BytePointer realPath)
@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay arg0, String virtualPath, String realPath)
@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay arg0, int caseSensitive)
@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0, @Cast(value="unsigned") int options, @Cast(value="char**") PointerPointer out_buffer_ptr, @Cast(value="unsigned*") IntPointer out_buffer_size)
options
- is reserved, always pass 0.out_buffer_ptr
- pointer to receive the buffer pointer, which should be
disposed using \c clang_free().out_buffer_size
- pointer to receive the buffer size.@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0, @Cast(value="unsigned") int options, @Cast(value="char**") @ByPtrPtr BytePointer out_buffer_ptr, @Cast(value="unsigned*") IntPointer out_buffer_size)
@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0, @Cast(value="unsigned") int options, @Cast(value="char**") @ByPtrPtr ByteBuffer out_buffer_ptr, @Cast(value="unsigned*") IntBuffer out_buffer_size)
@Cast(value="CXErrorCode") public static int clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay arg0, @Cast(value="unsigned") int options, @Cast(value="char**") @ByPtrPtr byte[] out_buffer_ptr, @Cast(value="unsigned*") int[] out_buffer_size)
public static void clang_free(Pointer buffer)
buffer
- memory pointer to free.public static void clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay arg0)
public static CXModuleMapDescriptor clang_ModuleMapDescriptor_create(@Cast(value="unsigned") int options)
options
- is reserved, always pass 0.@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor arg0, @Cast(value="const char*") BytePointer name)
@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor arg0, String name)
@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor arg0, @Cast(value="const char*") BytePointer name)
@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor arg0, String name)
@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0, @Cast(value="unsigned") int options, @Cast(value="char**") PointerPointer out_buffer_ptr, @Cast(value="unsigned*") IntPointer out_buffer_size)
options
- is reserved, always pass 0.out_buffer_ptr
- pointer to receive the buffer pointer, which should be
disposed using \c clang_free().out_buffer_size
- pointer to receive the buffer size.@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0, @Cast(value="unsigned") int options, @Cast(value="char**") @ByPtrPtr BytePointer out_buffer_ptr, @Cast(value="unsigned*") IntPointer out_buffer_size)
@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0, @Cast(value="unsigned") int options, @Cast(value="char**") @ByPtrPtr ByteBuffer out_buffer_ptr, @Cast(value="unsigned*") IntBuffer out_buffer_size)
@Cast(value="CXErrorCode") public static int clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor arg0, @Cast(value="unsigned") int options, @Cast(value="char**") @ByPtrPtr byte[] out_buffer_ptr, @Cast(value="unsigned*") int[] out_buffer_size)
public static void clang_ModuleMapDescriptor_dispose(CXModuleMapDescriptor arg0)
@ByVal public static CXString clang_getFileName(CXFile SFile)
@ByVal @Cast(value="time_t*") public static Pointer clang_getFileTime(CXFile SFile)
public static int clang_getFileUniqueID(CXFile file, CXFileUniqueID outID)
file
- the file to get the ID for.outID
- stores the returned CXFileUniqueID.public static int clang_File_isEqual(CXFile file1, CXFile file2)
@ByVal public static CXString clang_File_tryGetRealPathName(CXFile file)
@ByVal public static CXSourceLocation clang_getNullLocation()
@Cast(value="unsigned") public static int clang_equalLocations(@ByVal CXSourceLocation loc1, @ByVal CXSourceLocation loc2)
public static int clang_Location_isInSystemHeader(@ByVal CXSourceLocation location)
public static int clang_Location_isFromMainFile(@ByVal CXSourceLocation location)
@ByVal public static CXSourceRange clang_getNullRange()
@ByVal public static CXSourceRange clang_getRange(@ByVal CXSourceLocation begin, @ByVal CXSourceLocation end)
@Cast(value="unsigned") public static int clang_equalRanges(@ByVal CXSourceRange range1, @ByVal CXSourceRange range2)
public static int clang_Range_isNull(@ByVal CXSourceRange range)
public static void clang_getExpansionLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntPointer line, @Cast(value="unsigned*") IntPointer column, @Cast(value="unsigned*") IntPointer offset)
location
- the location within a source file that will be decomposed
into its parts.file
- [out] if non-NULL, will be set to the file to which the given
source location points.line
- [out] if non-NULL, will be set to the line to which the given
source location points.column
- [out] if non-NULL, will be set to the column to which the given
source location points.offset
- [out] if non-NULL, will be set to the offset into the
buffer to which the given source location points.public static void clang_getExpansionLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntBuffer line, @Cast(value="unsigned*") IntBuffer column, @Cast(value="unsigned*") IntBuffer offset)
public static void clang_getExpansionLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") int[] line, @Cast(value="unsigned*") int[] column, @Cast(value="unsigned*") int[] offset)
public static void clang_getPresumedLocation(@ByVal CXSourceLocation location, CXString filename, @Cast(value="unsigned*") IntPointer line, @Cast(value="unsigned*") IntPointer column)
#123 "dummy.c" 1
static int func(void)
{
return 0;
}
the location information returned by this function would be
File: dummy.c Line: 124 Column: 12
whereas clang_getExpansionLocation would have returned
File: somefile.c Line: 3 Column: 12location
- the location within a source file that will be decomposed
into its parts.filename
- [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 \c clang_disposeString() once you've finished with it. For an invalid
source location, an empty string is returned.line
- [out] if non-NULL, will be set to the line number of the
source location. For an invalid source location, zero is returned.column
- [out] if non-NULL, will be set to the column number of the
source location. For an invalid source location, zero is returned.public static void clang_getPresumedLocation(@ByVal CXSourceLocation location, CXString filename, @Cast(value="unsigned*") IntBuffer line, @Cast(value="unsigned*") IntBuffer column)
public static void clang_getPresumedLocation(@ByVal CXSourceLocation location, CXString filename, @Cast(value="unsigned*") int[] line, @Cast(value="unsigned*") int[] column)
public static void clang_getInstantiationLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntPointer line, @Cast(value="unsigned*") IntPointer column, @Cast(value="unsigned*") IntPointer offset)
public static void clang_getInstantiationLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntBuffer line, @Cast(value="unsigned*") IntBuffer column, @Cast(value="unsigned*") IntBuffer offset)
public static void clang_getInstantiationLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") int[] line, @Cast(value="unsigned*") int[] column, @Cast(value="unsigned*") int[] offset)
public static void clang_getSpellingLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntPointer line, @Cast(value="unsigned*") IntPointer column, @Cast(value="unsigned*") IntPointer offset)
location
- the location within a source file that will be decomposed
into its parts.file
- [out] if non-NULL, will be set to the file to which the given
source location points.line
- [out] if non-NULL, will be set to the line to which the given
source location points.column
- [out] if non-NULL, will be set to the column to which the given
source location points.offset
- [out] if non-NULL, will be set to the offset into the
buffer to which the given source location points.public static void clang_getSpellingLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntBuffer line, @Cast(value="unsigned*") IntBuffer column, @Cast(value="unsigned*") IntBuffer offset)
public static void clang_getSpellingLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") int[] line, @Cast(value="unsigned*") int[] column, @Cast(value="unsigned*") int[] offset)
public static void clang_getFileLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntPointer line, @Cast(value="unsigned*") IntPointer column, @Cast(value="unsigned*") IntPointer offset)
location
- the location within a source file that will be decomposed
into its parts.file
- [out] if non-NULL, will be set to the file to which the given
source location points.line
- [out] if non-NULL, will be set to the line to which the given
source location points.column
- [out] if non-NULL, will be set to the column to which the given
source location points.offset
- [out] if non-NULL, will be set to the offset into the
buffer to which the given source location points.public static void clang_getFileLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntBuffer line, @Cast(value="unsigned*") IntBuffer column, @Cast(value="unsigned*") IntBuffer offset)
public static void clang_getFileLocation(@ByVal CXSourceLocation location, @ByPtrPtr CXFile file, @Cast(value="unsigned*") int[] line, @Cast(value="unsigned*") int[] column, @Cast(value="unsigned*") int[] offset)
@ByVal public static CXSourceLocation clang_getRangeStart(@ByVal CXSourceRange range)
@ByVal public static CXSourceLocation clang_getRangeEnd(@ByVal CXSourceRange range)
public static void clang_disposeSourceRangeList(CXSourceRangeList ranges)
@Cast(value="unsigned") public static int clang_getNumDiagnosticsInSet(CXDiagnosticSet Diags)
public static CXDiagnostic clang_getDiagnosticInSet(CXDiagnosticSet Diags, @Cast(value="unsigned") int Index)
Diags
- the CXDiagnosticSet to query.Index
- the zero-based diagnostic number to retrieve.public static CXDiagnosticSet clang_loadDiagnostics(@Cast(value="const char*") BytePointer file, @Cast(value="CXLoadDiag_Error*") IntPointer error, CXString errorString)
file
- The name of the file to deserialize.error
- A pointer to a enum value recording if there was a problem
deserializing the diagnostics.errorString
- A pointer to a CXString for recording the error string
if the file was not successfully loaded.public static CXDiagnosticSet clang_loadDiagnostics(String file, @Cast(value="CXLoadDiag_Error*") IntBuffer error, CXString errorString)
public static CXDiagnosticSet clang_loadDiagnostics(@Cast(value="const char*") BytePointer file, @Cast(value="CXLoadDiag_Error*") int[] error, CXString errorString)
public static CXDiagnosticSet clang_loadDiagnostics(String file, @Cast(value="CXLoadDiag_Error*") IntPointer error, CXString errorString)
public static CXDiagnosticSet clang_loadDiagnostics(@Cast(value="const char*") BytePointer file, @Cast(value="CXLoadDiag_Error*") IntBuffer error, CXString errorString)
public static CXDiagnosticSet clang_loadDiagnostics(String file, @Cast(value="CXLoadDiag_Error*") int[] error, CXString errorString)
public static void clang_disposeDiagnosticSet(CXDiagnosticSet Diags)
public static CXDiagnosticSet clang_getChildDiagnostics(CXDiagnostic D)
public static void clang_disposeDiagnostic(CXDiagnostic Diagnostic)
@ByVal public static CXString clang_formatDiagnostic(CXDiagnostic Diagnostic, @Cast(value="unsigned") int Options)
Diagnostic
- The diagnostic to print.Options
- A set of options that control the diagnostic display,
created by combining \c CXDiagnosticDisplayOptions values.@Cast(value="unsigned") public static int clang_defaultDiagnosticDisplayOptions()
@Cast(value="CXDiagnosticSeverity") public static int clang_getDiagnosticSeverity(CXDiagnostic arg0)
@ByVal public static CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic arg0)
@ByVal public static CXString clang_getDiagnosticSpelling(CXDiagnostic arg0)
@ByVal public static CXString clang_getDiagnosticOption(CXDiagnostic Diag, CXString Disable)
Diag
- The diagnostic to be queried.Disable
- If non-NULL, will be set to the option that disables this
diagnostic (if any).@Cast(value="unsigned") public static int clang_getDiagnosticCategory(CXDiagnostic arg0)
@ByVal public static CXString clang_getDiagnosticCategoryName(@Cast(value="unsigned") int Category)
Category
- A diagnostic category number, as returned by
\c clang_getDiagnosticCategory().@ByVal public static CXString clang_getDiagnosticCategoryText(CXDiagnostic arg0)
@Cast(value="unsigned") public static int clang_getDiagnosticNumRanges(CXDiagnostic arg0)
@ByVal public static CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic, @Cast(value="unsigned") int Range)
Diagnostic
- the diagnostic whose range is being extracted.Range
- the zero-based index specifying which range to@Cast(value="unsigned") public static int clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic)
@ByVal public static CXString clang_getDiagnosticFixIt(CXDiagnostic Diagnostic, @Cast(value="unsigned") int FixIt, CXSourceRange ReplacementRange)
Diagnostic
- The diagnostic whose fix-its are being queried.FixIt
- The zero-based index of the fix-it.ReplacementRange
- 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.@MemberGetter public static int CINDEX_VERSION()
public static CXIndex clang_createIndex(int excludeDeclarationsFromPCH, int displayDiagnostics)
// excludeDeclsFromPCH = 1, displayDiagnostics=1
Idx = clang_createIndex(1, 1);
// IndexTest.pch was produced with the following command:
// "clang -x c IndexTest.h -emit-ast -o IndexTest.pch"
TU = clang_createTranslationUnit(Idx, "IndexTest.pch");
// This will load all the symbols from 'IndexTest.pch'
clang_visitChildren(clang_getTranslationUnitCursor(TU),
TranslationUnitVisitor, 0);
clang_disposeTranslationUnit(TU);
// This will load all the symbols from 'IndexTest.c', excluding symbols
// from 'IndexTest.pch'.
char *args[] = { "-Xclang", "-include-pch=IndexTest.pch" };
TU = clang_createTranslationUnitFromSourceFile(Idx, "IndexTest.c", 2, args,
0, 0);
clang_visitChildren(clang_getTranslationUnitCursor(TU),
TranslationUnitVisitor, 0);
clang_disposeTranslationUnit(TU);
This process of creating the 'pch', loading it separately, and using it (via
-include-pch) allows 'excludeDeclsFromPCH' to remove redundant callbacks
(which gives the indexer the same performance benefit as the compiler).public static void clang_disposeIndex(CXIndex index)
public static CXIndex clang_createIndexWithOptions(@Const CXIndexOptions options)
CXIndex createIndex(const char *ApplicationTemporaryPath) {
const int ExcludeDeclarationsFromPCH = 1;
const int DisplayDiagnostics = 1;
CXIndex Idx;
#if CINDEX_VERSION_MINOR >= 64
CXIndexOptions Opts;
memset(&Opts, 0, sizeof(Opts));
Opts.Size = sizeof(CXIndexOptions);
Opts.ThreadBackgroundPriorityForIndexing = 1;
Opts.ExcludeDeclarationsFromPCH = ExcludeDeclarationsFromPCH;
Opts.DisplayDiagnostics = DisplayDiagnostics;
Opts.PreambleStoragePath = ApplicationTemporaryPath;
Idx = clang_createIndexWithOptions(&Opts);
if (Idx)
return Idx;
fprintf(stderr,
"clang_createIndexWithOptions() failed. "
"CINDEX_VERSION_MINOR = %d, sizeof(CXIndexOptions) = %u\n",
CINDEX_VERSION_MINOR, Opts.Size);
#else
(void)ApplicationTemporaryPath;
#endif
Idx = clang_createIndex(ExcludeDeclarationsFromPCH, DisplayDiagnostics);
clang_CXIndex_setGlobalOptions(
Idx, clang_CXIndex_getGlobalOptions(Idx) |
CXGlobalOpt_ThreadBackgroundPriorityForIndexing);
return Idx;
}
clang_createIndex()
public static void clang_CXIndex_setGlobalOptions(CXIndex arg0, @Cast(value="unsigned") int options)
CXIndex idx = ...;
clang_CXIndex_setGlobalOptions(idx,
clang_CXIndex_getGlobalOptions(idx) |
CXGlobalOpt_ThreadBackgroundPriorityForIndexing);
options
- A bitmask of options, a bitwise OR of CXGlobalOpt_XXX flags.@Cast(value="unsigned") public static int clang_CXIndex_getGlobalOptions(CXIndex arg0)
public static void clang_CXIndex_setInvocationEmissionPathOption(CXIndex arg0, @Cast(value="const char*") BytePointer Path)
public static void clang_CXIndex_setInvocationEmissionPathOption(CXIndex arg0, String Path)
@Cast(value="unsigned") public static int clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu, CXFile file)
public static CXFile clang_getFile(CXTranslationUnit tu, @Cast(value="const char*") BytePointer file_name)
tu
- the translation unitfile_name
- the name of the file.public static CXFile clang_getFile(CXTranslationUnit tu, String file_name)
@Cast(value="const char*") public static BytePointer clang_getFileContents(CXTranslationUnit tu, CXFile file, @Cast(value="size_t*") SizeTPointer size)
tu
- the translation unitfile
- the file for which to retrieve the buffer.size
- [out] if non-NULL, will be set to the size of the buffer.@ByVal public static CXSourceLocation clang_getLocation(CXTranslationUnit tu, CXFile file, @Cast(value="unsigned") int line, @Cast(value="unsigned") int column)
@ByVal public static CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu, CXFile file, @Cast(value="unsigned") int offset)
public static CXSourceRangeList clang_getSkippedRanges(CXTranslationUnit tu, CXFile file)
public static CXSourceRangeList clang_getAllSkippedRanges(CXTranslationUnit tu)
@Cast(value="unsigned") public static int clang_getNumDiagnostics(CXTranslationUnit Unit)
public static CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit, @Cast(value="unsigned") int Index)
Unit
- the translation unit to query.Index
- the zero-based diagnostic number to retrieve.public static CXDiagnosticSet clang_getDiagnosticSetFromTU(CXTranslationUnit Unit)
Unit
- the translation unit to query.@ByVal public static CXString clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit)
public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") PointerPointer clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
CIdx
- The index object with which the translation unit will be
associated.source_filename
- The name of the source file to load, or NULL if the
source file is included in \p clang_command_line_args.num_clang_command_line_args
- The number of command-line arguments in
\p clang_command_line_args.clang_command_line_args
- The command-line arguments that would be
passed to the \c 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 \num_unsaved_files
- the number of unsaved file entries in \p
unsaved_files.unsaved_files
- 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.public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") @ByPtrPtr BytePointer clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, String source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") @ByPtrPtr byte[] clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, String source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") @ByPtrPtr BytePointer clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
public static CXTranslationUnit clang_createTranslationUnitFromSourceFile(CXIndex CIdx, String source_filename, int num_clang_command_line_args, @Cast(value="const char*const*") @ByPtrPtr byte[] clang_command_line_args, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files)
public static CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx, @Cast(value="const char*") BytePointer ast_filename)
public static CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx, String ast_filename)
@Cast(value="CXErrorCode") public static int clang_createTranslationUnit2(CXIndex CIdx, @Cast(value="const char*") BytePointer ast_filename, @ByPtrPtr CXTranslationUnit out_TU)
out_TU
- [out] A non-NULL pointer to store the created
\c CXTranslationUnit.@Cast(value="CXErrorCode") public static int clang_createTranslationUnit2(CXIndex CIdx, String ast_filename, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="unsigned") public static int clang_defaultEditingTranslationUnitOptions()
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") PointerPointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static CXTranslationUnit clang_parseTranslationUnit(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") PointerPointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
CIdx
- The index object with which the translation unit will be
associated.source_filename
- The name of the source file to load, or NULL if the
source file is included in \c command_line_args.command_line_args
- The command-line arguments that would be
passed to the \c 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 \num_command_line_args
- The number of command-line arguments in
\c command_line_args.unsaved_files
- 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.num_unsaved_files
- the number of unsaved file entries in \p
unsaved_files.options
- 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.out_TU
- [out] A non-NULL pointer to store the created
\c CXTranslationUnit, describing the parsed code and containing any
diagnostics produced by the compiler.@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") PointerPointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @ByPtrPtr CXTranslationUnit out_TU)
@Cast(value="CXErrorCode") public static int clang_parseTranslationUnit2FullArgv(CXIndex CIdx, String source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options, @Cast(value="CXTranslationUnit*") PointerPointer out_TU)
@Cast(value="unsigned") public static int clang_defaultSaveOptions(CXTranslationUnit TU)
public static int clang_saveTranslationUnit(CXTranslationUnit TU, @Cast(value="const char*") BytePointer FileName, @Cast(value="unsigned") int options)
TU
- The translation unit to save.FileName
- The file to which the translation unit will be saved.options
- A bitmask of options that affects how the translation unit
is saved. This should be a bitwise OR of the
CXSaveTranslationUnit_XXX flags.public static int clang_saveTranslationUnit(CXTranslationUnit TU, String FileName, @Cast(value="unsigned") int options)
@Cast(value="unsigned") public static int clang_suspendTranslationUnit(CXTranslationUnit arg0)
public static void clang_disposeTranslationUnit(CXTranslationUnit arg0)
@Cast(value="unsigned") public static int clang_defaultReparseOptions(CXTranslationUnit TU)
public static int clang_reparseTranslationUnit(CXTranslationUnit TU, @Cast(value="unsigned") int num_unsaved_files, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int options)
TU
- The translation unit whose contents will be re-parsed. The
translation unit must originally have been built with
\c clang_createTranslationUnitFromSourceFile().num_unsaved_files
- The number of unsaved file entries in \p
unsaved_files.unsaved_files
- 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.options
- A bitset of options composed of the flags in CXReparse_Flags.
The function \c clang_defaultReparseOptions() produces a default set of
options recommended for most uses, based on the translation unit.@Cast(value="const char*") public static BytePointer clang_getTUResourceUsageName(@Cast(value="CXTUResourceUsageKind") int kind)
@ByVal public static CXTUResourceUsage clang_getCXTUResourceUsage(CXTranslationUnit TU)
public static void clang_disposeCXTUResourceUsage(@ByVal CXTUResourceUsage usage)
public static CXTargetInfo clang_getTranslationUnitTargetInfo(CXTranslationUnit CTUnit)
public static void clang_TargetInfo_dispose(CXTargetInfo Info)
@ByVal public static CXString clang_TargetInfo_getTriple(CXTargetInfo Info)
public static int clang_TargetInfo_getPointerWidth(CXTargetInfo Info)
@ByVal public static CXCursor clang_getNullCursor()
@ByVal public static CXCursor clang_getTranslationUnitCursor(CXTranslationUnit arg0)
@Cast(value="unsigned") public static int clang_equalCursors(@ByVal CXCursor arg0, @ByVal CXCursor arg1)
public static int clang_Cursor_isNull(@ByVal CXCursor cursor)
@Cast(value="unsigned") public static int clang_hashCursor(@ByVal CXCursor arg0)
@Cast(value="CXCursorKind") public static int clang_getCursorKind(@ByVal CXCursor arg0)
@Cast(value="unsigned") public static int clang_isDeclaration(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isInvalidDeclaration(@ByVal CXCursor arg0)
@Cast(value="unsigned") public static int clang_isReference(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isExpression(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isStatement(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isAttribute(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_Cursor_hasAttrs(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_isInvalid(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isTranslationUnit(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isPreprocessing(@Cast(value="CXCursorKind") int arg0)
@Cast(value="unsigned") public static int clang_isUnexposed(@Cast(value="CXCursorKind") int arg0)
@Cast(value="CXLinkageKind") public static int clang_getCursorLinkage(@ByVal CXCursor cursor)
@Cast(value="CXVisibilityKind") public static int clang_getCursorVisibility(@ByVal CXCursor cursor)
cursor
- The cursor to query.@Cast(value="CXAvailabilityKind") public static int clang_getCursorAvailability(@ByVal CXCursor cursor)
cursor
- The cursor to query.public static int clang_getCursorPlatformAvailability(@ByVal CXCursor cursor, IntPointer always_deprecated, CXString deprecated_message, IntPointer always_unavailable, CXString unavailable_message, CXPlatformAvailability availability, int availability_size)
cursor
- The cursor to query.always_deprecated
- If non-NULL, will be set to indicate whether the
entity is deprecated on all platforms.deprecated_message
- 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.always_unavailable
- If non-NULL, will be set to indicate whether the
entity is unavailable on all platforms.unavailable_message
- 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.availability
- 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 \c availability_size, whichever is smaller.availability_size
- The number of elements available in the
\c availability array.public static int clang_getCursorPlatformAvailability(@ByVal CXCursor cursor, IntBuffer always_deprecated, CXString deprecated_message, IntBuffer always_unavailable, CXString unavailable_message, CXPlatformAvailability availability, int availability_size)
public static int clang_getCursorPlatformAvailability(@ByVal CXCursor cursor, int[] always_deprecated, CXString deprecated_message, int[] always_unavailable, CXString unavailable_message, CXPlatformAvailability availability, int availability_size)
public static void clang_disposeCXPlatformAvailability(CXPlatformAvailability availability)
@ByVal public static CXCursor clang_Cursor_getVarDeclInitializer(@ByVal CXCursor cursor)
public static int clang_Cursor_hasVarDeclGlobalStorage(@ByVal CXCursor cursor)
public static int clang_Cursor_hasVarDeclExternalStorage(@ByVal CXCursor cursor)
@Cast(value="CXLanguageKind") public static int clang_getCursorLanguage(@ByVal CXCursor cursor)
@Cast(value="CXTLSKind") public static int clang_getCursorTLSKind(@ByVal CXCursor cursor)
public static CXTranslationUnit clang_Cursor_getTranslationUnit(@ByVal CXCursor arg0)
public static CXCursorSet clang_createCXCursorSet()
public static void clang_disposeCXCursorSet(CXCursorSet cset)
@Cast(value="unsigned") public static int clang_CXCursorSet_contains(CXCursorSet cset, @ByVal CXCursor cursor)
@Cast(value="unsigned") public static int clang_CXCursorSet_insert(CXCursorSet cset, @ByVal CXCursor cursor)
@ByVal public static CXCursor clang_getCursorSemanticParent(@ByVal CXCursor cursor)
class C {
void f();
};
void C::f() { }
In the out-of-line definition of \c C::f, the semantic parent is
the class \c C, of which this function is a member. The lexical parent is
the place where the declaration actually occurs in the source code; in this
case, the definition occurs in the translation unit. In general, the
lexical parent for a given entity can change without affecting the semantics
of the program, and the lexical parent of different declarations of the
same entity may be different. Changing the semantic parent of a declaration,
on the other hand, can have a major impact on semantics, and redeclarations
of a particular entity should all have the same semantic context.
In the example above, both declarations of \c C::f have \c C as their
semantic context, while the lexical context of the first \c C::f is \c C
and the lexical context of the second \c C::f is the translation unit.
For global declarations, the semantic parent is the translation unit.@ByVal public static CXCursor clang_getCursorLexicalParent(@ByVal CXCursor cursor)
class C {
void f();
};
void C::f() { }
In the out-of-line definition of \c C::f, the semantic parent is
the class \c C, of which this function is a member. The lexical parent is
the place where the declaration actually occurs in the source code; in this
case, the definition occurs in the translation unit. In general, the
lexical parent for a given entity can change without affecting the semantics
of the program, and the lexical parent of different declarations of the
same entity may be different. Changing the semantic parent of a declaration,
on the other hand, can have a major impact on semantics, and redeclarations
of a particular entity should all have the same semantic context.
In the example above, both declarations of \c C::f have \c C as their
semantic context, while the lexical context of the first \c C::f is \c C
and the lexical context of the second \c C::f is the translation unit.
For declarations written in the global scope, the lexical parent is
the translation unit.public static void clang_getOverriddenCursors(@ByVal CXCursor cursor, @Cast(value="CXCursor**") PointerPointer overridden, @Cast(value="unsigned*") IntPointer num_overridden)
cursor
- A cursor representing an Objective-C or C++
method. This routine will compute the set of methods that this
method overrides.overridden
- 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
\c clang_disposeOverriddenCursors().num_overridden
- A pointer to the number of overridden
functions, will be set to the number of overridden functions in the
array pointed to by \p overridden.public static void clang_getOverriddenCursors(@ByVal CXCursor cursor, @ByPtrPtr CXCursor overridden, @Cast(value="unsigned*") IntPointer num_overridden)
public static void clang_getOverriddenCursors(@ByVal CXCursor cursor, @ByPtrPtr CXCursor overridden, @Cast(value="unsigned*") IntBuffer num_overridden)
public static void clang_getOverriddenCursors(@ByVal CXCursor cursor, @ByPtrPtr CXCursor overridden, @Cast(value="unsigned*") int[] num_overridden)
public static void clang_disposeOverriddenCursors(CXCursor overridden)
public static CXFile clang_getIncludedFile(@ByVal CXCursor cursor)
@ByVal public static CXCursor clang_getCursor(CXTranslationUnit arg0, @ByVal CXSourceLocation arg1)
@ByVal public static CXSourceLocation clang_getCursorLocation(@ByVal CXCursor arg0)
@ByVal public static CXSourceRange clang_getCursorExtent(@ByVal CXCursor arg0)
@ByVal public static CXType clang_getCursorType(@ByVal CXCursor C)
@ByVal public static CXString clang_getTypeSpelling(@ByVal CXType CT)
@ByVal public static CXType clang_getTypedefDeclUnderlyingType(@ByVal CXCursor C)
@ByVal public static CXType clang_getEnumDeclIntegerType(@ByVal CXCursor C)
public static long clang_getEnumConstantDeclValue(@ByVal CXCursor C)
@Cast(value="unsigned long long") public static long clang_getEnumConstantDeclUnsignedValue(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isBitField(@ByVal CXCursor C)
public static int clang_getFieldDeclBitWidth(@ByVal CXCursor C)
if (clang_Cursor_isBitField(Cursor)) {
int Width = clang_getFieldDeclBitWidth(Cursor);
if (Width != -1) {
// The bit-field width is not value-dependent.
}
}
public static int clang_Cursor_getNumArguments(@ByVal CXCursor C)
@ByVal public static CXCursor clang_Cursor_getArgument(@ByVal CXCursor C, @Cast(value="unsigned") int i)
public static int clang_Cursor_getNumTemplateArguments(@ByVal CXCursor C)
@Cast(value="CXTemplateArgumentKind") public static int clang_Cursor_getTemplateArgumentKind(@ByVal CXCursor C, @Cast(value="unsigned") int I)
@ByVal public static CXType clang_Cursor_getTemplateArgumentType(@ByVal CXCursor C, @Cast(value="unsigned") int I)
public static long clang_Cursor_getTemplateArgumentValue(@ByVal CXCursor C, @Cast(value="unsigned") int I)
@Cast(value="unsigned long long") public static long clang_Cursor_getTemplateArgumentUnsignedValue(@ByVal CXCursor C, @Cast(value="unsigned") int I)
@Cast(value="unsigned") public static int clang_equalTypes(@ByVal CXType A, @ByVal CXType B)
@ByVal public static CXType clang_getCanonicalType(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_isConstQualifiedType(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_Cursor_isMacroFunctionLike(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isMacroBuiltin(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isFunctionInlined(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_isVolatileQualifiedType(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_isRestrictQualifiedType(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_getAddressSpace(@ByVal CXType T)
@ByVal public static CXString clang_getTypedefName(@ByVal CXType CT)
@ByVal public static CXType clang_getPointeeType(@ByVal CXType T)
@ByVal public static CXType clang_getUnqualifiedType(@ByVal CXType CT)
typedef int Integer;
typedef const Integer CInteger;
typedef CInteger DifferenceType;
Executing \c clang_getUnqualifiedType() on a \c CXType that
represents \c DifferenceType, will desugar to a type representing
\c Integer, that has no qualifiers.
And, executing \c clang_getUnqualifiedType() on the type of the
first argument of the following function declaration:
void foo(const int);
Will return a type representing \c int, removing the \c const
qualifier.
Sugar over array types is not desugared.
A type can be checked for qualifiers with \c
clang_isConstQualifiedType(), \c clang_isVolatileQualifiedType()
and \c clang_isRestrictQualifiedType().
A type that resulted from a call to \c clang_getUnqualifiedType
will return \c false for all of the above calls.@ByVal public static CXType clang_getNonReferenceType(@ByVal CXType CT)
@ByVal public static CXCursor clang_getTypeDeclaration(@ByVal CXType T)
@ByVal public static CXString clang_getDeclObjCTypeEncoding(@ByVal CXCursor C)
@ByVal public static CXString clang_Type_getObjCEncoding(@ByVal CXType type)
@ByVal public static CXString clang_getTypeKindSpelling(@Cast(value="CXTypeKind") int K)
@Cast(value="CXCallingConv") public static int clang_getFunctionTypeCallingConv(@ByVal CXType T)
@ByVal public static CXType clang_getResultType(@ByVal CXType T)
public static int clang_getExceptionSpecificationType(@ByVal CXType T)
public static int clang_getNumArgTypes(@ByVal CXType T)
@ByVal public static CXType clang_getArgType(@ByVal CXType T, @Cast(value="unsigned") int i)
@ByVal public static CXType clang_Type_getObjCObjectBaseType(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_Type_getNumObjCProtocolRefs(@ByVal CXType T)
@ByVal public static CXCursor clang_Type_getObjCProtocolDecl(@ByVal CXType T, @Cast(value="unsigned") int i)
@Cast(value="unsigned") public static int clang_Type_getNumObjCTypeArgs(@ByVal CXType T)
@ByVal public static CXType clang_Type_getObjCTypeArg(@ByVal CXType T, @Cast(value="unsigned") int i)
@Cast(value="unsigned") public static int clang_isFunctionTypeVariadic(@ByVal CXType T)
@ByVal public static CXType clang_getCursorResultType(@ByVal CXCursor C)
public static int clang_getCursorExceptionSpecificationType(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_isPODType(@ByVal CXType T)
@ByVal public static CXType clang_getElementType(@ByVal CXType T)
public static long clang_getNumElements(@ByVal CXType T)
@ByVal public static CXType clang_getArrayElementType(@ByVal CXType T)
public static long clang_getArraySize(@ByVal CXType T)
@ByVal public static CXType clang_Type_getNamedType(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_Type_isTransparentTagTypedef(@ByVal CXType T)
@Cast(value="CXTypeNullabilityKind") public static int clang_Type_getNullability(@ByVal CXType T)
public static long clang_Type_getAlignOf(@ByVal CXType T)
@ByVal public static CXType clang_Type_getClassType(@ByVal CXType T)
public static long clang_Type_getSizeOf(@ByVal CXType T)
public static long clang_Type_getOffsetOf(@ByVal CXType T, @Cast(value="const char*") BytePointer S)
@ByVal public static CXType clang_Type_getModifiedType(@ByVal CXType T)
@ByVal public static CXType clang_Type_getValueType(@ByVal CXType CT)
public static long clang_Cursor_getOffsetOfField(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isAnonymous(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isAnonymousRecordDecl(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isInlineNamespace(@ByVal CXCursor C)
public static int clang_Type_getNumTemplateArguments(@ByVal CXType T)
@ByVal public static CXType clang_Type_getTemplateArgumentAsType(@ByVal CXType T, @Cast(value="unsigned") int i)
@Cast(value="CXRefQualifierKind") public static int clang_Type_getCXXRefQualifier(@ByVal CXType T)
@Cast(value="unsigned") public static int clang_isVirtualBase(@ByVal CXCursor arg0)
@Cast(value="CX_CXXAccessSpecifier") public static int clang_getCXXAccessSpecifier(@ByVal CXCursor arg0)
@Cast(value="CX_StorageClass") public static int clang_Cursor_getStorageClass(@ByVal CXCursor arg0)
@Cast(value="unsigned") public static int clang_getNumOverloadedDecls(@ByVal CXCursor cursor)
cursor
- The cursor whose overloaded declarations are being queried.@ByVal public static CXCursor clang_getOverloadedDecl(@ByVal CXCursor cursor, @Cast(value="unsigned") int index)
cursor
- The cursor whose overloaded declarations are being queried.index
- The zero-based index into the set of overloaded declarations in
the cursor.@ByVal public static CXType clang_getIBOutletCollectionType(@ByVal CXCursor arg0)
@Cast(value="unsigned") public static int clang_visitChildren(@ByVal CXCursor parent, CXCursorVisitor visitor, CXClientData client_data)
parent
- the cursor whose child may be visited. All kinds of
cursors can be visited, including invalid cursors (which, by
definition, have no children).visitor
- the visitor function that will be invoked for each
child of \p parent.client_data
- pointer data supplied by the client, which will
be passed to the visitor each time it is invoked.@ByVal public static CXString clang_getCursorUSR(@ByVal CXCursor arg0)
@ByVal public static CXString clang_constructUSR_ObjCClass(@Cast(value="const char*") BytePointer class_name)
@ByVal public static CXString clang_constructUSR_ObjCClass(String class_name)
@ByVal public static CXString clang_constructUSR_ObjCCategory(@Cast(value="const char*") BytePointer class_name, @Cast(value="const char*") BytePointer category_name)
@ByVal public static CXString clang_constructUSR_ObjCCategory(String class_name, String category_name)
@ByVal public static CXString clang_constructUSR_ObjCProtocol(@Cast(value="const char*") BytePointer protocol_name)
@ByVal public static CXString clang_constructUSR_ObjCProtocol(String protocol_name)
@ByVal public static CXString clang_constructUSR_ObjCIvar(@Cast(value="const char*") BytePointer name, @ByVal CXString classUSR)
@ByVal public static CXString clang_constructUSR_ObjCIvar(String name, @ByVal CXString classUSR)
@ByVal public static CXString clang_constructUSR_ObjCMethod(@Cast(value="const char*") BytePointer name, @Cast(value="unsigned") int isInstanceMethod, @ByVal CXString classUSR)
@ByVal public static CXString clang_constructUSR_ObjCMethod(String name, @Cast(value="unsigned") int isInstanceMethod, @ByVal CXString classUSR)
@ByVal public static CXString clang_constructUSR_ObjCProperty(@Cast(value="const char*") BytePointer property, @ByVal CXString classUSR)
@ByVal public static CXString clang_constructUSR_ObjCProperty(String property, @ByVal CXString classUSR)
@ByVal public static CXString clang_getCursorSpelling(@ByVal CXCursor arg0)
@ByVal public static CXSourceRange clang_Cursor_getSpellingNameRange(@ByVal CXCursor arg0, @Cast(value="unsigned") int pieceIndex, @Cast(value="unsigned") int options)
pieceIndex
- the index of the spelling name piece. If this is greater
than the actual number of pieces, it will return a NULL (invalid) range.options
- Reserved.@Cast(value="unsigned") public static int clang_PrintingPolicy_getProperty(CXPrintingPolicy Policy, @Cast(value="CXPrintingPolicyProperty") int Property)
public static void clang_PrintingPolicy_setProperty(CXPrintingPolicy Policy, @Cast(value="CXPrintingPolicyProperty") int Property, @Cast(value="unsigned") int Value)
public static CXPrintingPolicy clang_getCursorPrintingPolicy(@ByVal CXCursor arg0)
public static void clang_PrintingPolicy_dispose(CXPrintingPolicy Policy)
@ByVal public static CXString clang_getCursorPrettyPrinted(@ByVal CXCursor Cursor, CXPrintingPolicy Policy)
Cursor
- The cursor representing a declaration.Policy
- The policy to control the entities being printed. If
NULL, a default policy is used.@ByVal public static CXString clang_getCursorDisplayName(@ByVal CXCursor arg0)
@ByVal public static CXCursor clang_getCursorReferenced(@ByVal CXCursor arg0)
@ByVal public static CXCursor clang_getCursorDefinition(@ByVal CXCursor arg0)
int f(int, int);
int g(int x, int y) { return f(x, y); }
int f(int a, int b) { return a + b; }
int f(int, int);
there are three declarations of the function "f", but only the
second one is a definition. The clang_getCursorDefinition()
function will take any cursor pointing to a declaration of "f"
(the first or fourth lines of the example) or a cursor referenced
that uses "f" (the call to "f' inside "g") and will return a
declaration cursor pointing to the definition (the second "f"
declaration).
If given a cursor for which there is no corresponding definition,
e.g., because there is no definition of that entity within this
translation unit, returns a NULL cursor.@Cast(value="unsigned") public static int clang_isCursorDefinition(@ByVal CXCursor arg0)
@ByVal public static CXCursor clang_getCanonicalCursor(@ByVal CXCursor arg0)
struct X;
struct X;
struct X {
int member;
};
The declarations and the definition of \c X are represented by three
different cursors, all of which are declarations of the same underlying
entity. One of these cursor is considered the "canonical" cursor, which
is effectively the representative for the underlying entity. One can
determine if two cursors are declarations of the same underlying entity by
comparing their canonical cursors.public static int clang_Cursor_getObjCSelectorIndex(@ByVal CXCursor arg0)
public static int clang_Cursor_isDynamicCall(@ByVal CXCursor C)
@ByVal public static CXType clang_Cursor_getReceiverType(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_getObjCPropertyAttributes(@ByVal CXCursor C, @Cast(value="unsigned") int reserved)
reserved
- Reserved for future use, pass 0.@ByVal public static CXString clang_Cursor_getObjCPropertyGetterName(@ByVal CXCursor C)
@ByVal public static CXString clang_Cursor_getObjCPropertySetterName(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_getObjCDeclQualifiers(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isObjCOptional(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isVariadic(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_Cursor_isExternalSymbol(@ByVal CXCursor C, CXString language, CXString definedIn, @Cast(value="unsigned*") IntPointer isGenerated)
language
- If non-NULL, and the attribute is present, will be set to
the 'language' string from the attribute.definedIn
- If non-NULL, and the attribute is present, will be set to
the 'definedIn' string from the attribute.isGenerated
- If non-NULL, and the attribute is present, will be set to
non-zero if the 'generated_declaration' is set in the attribute.@Cast(value="unsigned") public static int clang_Cursor_isExternalSymbol(@ByVal CXCursor C, CXString language, CXString definedIn, @Cast(value="unsigned*") IntBuffer isGenerated)
@Cast(value="unsigned") public static int clang_Cursor_isExternalSymbol(@ByVal CXCursor C, CXString language, CXString definedIn, @Cast(value="unsigned*") int[] isGenerated)
@ByVal public static CXSourceRange clang_Cursor_getCommentRange(@ByVal CXCursor C)
@ByVal public static CXString clang_Cursor_getRawCommentText(@ByVal CXCursor C)
@ByVal public static CXString clang_Cursor_getBriefCommentText(@ByVal CXCursor C)
@ByVal public static CXString clang_Cursor_getMangling(@ByVal CXCursor arg0)
public static CXStringSet clang_Cursor_getCXXManglings(@ByVal CXCursor arg0)
public static CXStringSet clang_Cursor_getObjCManglings(@ByVal CXCursor arg0)
public static CXModule clang_Cursor_getModule(@ByVal CXCursor C)
public static CXModule clang_getModuleForFile(CXTranslationUnit arg0, CXFile arg1)
public static CXFile clang_Module_getASTFile(CXModule Module)
Module
- a module object.public static CXModule clang_Module_getParent(CXModule Module)
Module
- a module object.@ByVal public static CXString clang_Module_getName(CXModule Module)
Module
- a module object.@ByVal public static CXString clang_Module_getFullName(CXModule Module)
Module
- a module object.public static int clang_Module_isSystem(CXModule Module)
Module
- a module object.@Cast(value="unsigned") public static int clang_Module_getNumTopLevelHeaders(CXTranslationUnit arg0, CXModule Module)
Module
- a module object.public static CXFile clang_Module_getTopLevelHeader(CXTranslationUnit arg0, CXModule Module, @Cast(value="unsigned") int Index)
Module
- a module object.Index
- top level header index (zero-based).@Cast(value="unsigned") public static int clang_CXXConstructor_isConvertingConstructor(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXConstructor_isCopyConstructor(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXConstructor_isDefaultConstructor(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXConstructor_isMoveConstructor(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXField_isMutable(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isDefaulted(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isDeleted(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isPureVirtual(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isStatic(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isVirtual(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isCopyAssignmentOperator(@ByVal CXCursor C)
X::operator=
is a non-static,
> non-template member function of _class_ X
with exactly one
> parameter of type X
, X&
, const X&
, volatile X&
or const
> volatile X&
.
That is, for example, the operator=
in:
class Foo {
bool operator=(const volatile Foo&);
};
Is a copy-assignment operator, while the operator=
in:
class Bar {
bool operator=(const int&);
};
Is not.@Cast(value="unsigned") public static int clang_CXXMethod_isMoveAssignmentOperator(@ByVal CXCursor C)
X::operator=
is a non-static,
> non-template member function of _class_ X
with exactly one
> parameter of type X&&
, const X&&
, volatile X&&
or const
> volatile X&&
.
That is, for example, the operator=
in:
class Foo {
bool operator=(const volatile Foo&&);
};
Is a move-assignment operator, while the operator=
in:
class Bar {
bool operator=(const int&&);
};
Is not.@Cast(value="unsigned") public static int clang_CXXMethod_isExplicit(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXRecord_isAbstract(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_EnumDecl_isScoped(@ByVal CXCursor C)
@Cast(value="unsigned") public static int clang_CXXMethod_isConst(@ByVal CXCursor C)
@Cast(value="CXCursorKind") public static int clang_getTemplateCursorKind(@ByVal CXCursor C)
C
- The cursor to query. This cursor should represent a template
declaration.@ByVal public static CXCursor clang_getSpecializedCursorTemplate(@ByVal CXCursor C)
C
- A cursor that may be a specialization of a template or a member
of a template.@ByVal public static CXSourceRange clang_getCursorReferenceNameRange(@ByVal CXCursor C, @Cast(value="unsigned") int NameFlags, @Cast(value="unsigned") int PieceIndex)
C
- A cursor pointing to a member reference, a declaration reference, or
an operator call.NameFlags
- A bitset with three independent flags:
CXNameRange_WantQualifier, CXNameRange_WantTemplateArgs, and
CXNameRange_WantSinglePiece.PieceIndex
- For contiguous names or when passing the flag
CXNameRange_WantSinglePiece, only one piece with index 0 is
available. When the CXNameRange_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 CXNameRange_WantSinglePiece.public static CXToken clang_getToken(CXTranslationUnit TU, @ByVal CXSourceLocation Location)
TU
- the translation unit whose text is being tokenized.Location
- the source location with which the token starts.@Cast(value="CXTokenKind") public static int clang_getTokenKind(@ByVal CXToken arg0)
@ByVal public static CXString clang_getTokenSpelling(CXTranslationUnit arg0, @ByVal CXToken arg1)
@ByVal public static CXSourceLocation clang_getTokenLocation(CXTranslationUnit arg0, @ByVal CXToken arg1)
@ByVal public static CXSourceRange clang_getTokenExtent(CXTranslationUnit arg0, @ByVal CXToken arg1)
public static void clang_tokenize(CXTranslationUnit TU, @ByVal CXSourceRange Range, @Cast(value="CXToken**") PointerPointer Tokens, @Cast(value="unsigned*") IntPointer NumTokens)
TU
- the translation unit whose text is being tokenized.Range
- the source range in which text should be tokenized. All of the
tokens produced by tokenization will fall within this source range,Tokens
- 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 clang_disposeTokens() before the translation unit is destroyed.NumTokens
- will be set to the number of tokens in the \c *Tokens
array.public static void clang_tokenize(CXTranslationUnit TU, @ByVal CXSourceRange Range, @ByPtrPtr CXToken Tokens, @Cast(value="unsigned*") IntPointer NumTokens)
public static void clang_tokenize(CXTranslationUnit TU, @ByVal CXSourceRange Range, @ByPtrPtr CXToken Tokens, @Cast(value="unsigned*") IntBuffer NumTokens)
public static void clang_tokenize(CXTranslationUnit TU, @ByVal CXSourceRange Range, @ByPtrPtr CXToken Tokens, @Cast(value="unsigned*") int[] NumTokens)
public static void clang_annotateTokens(CXTranslationUnit TU, CXToken Tokens, @Cast(value="unsigned") int NumTokens, CXCursor Cursors)
TU
- the translation unit that owns the given tokens.Tokens
- the set of tokens to annotate.NumTokens
- the number of tokens in \p Tokens.Cursors
- an array of \p NumTokens cursors, whose contents will be
replaced with the cursors corresponding to each token.public static void clang_disposeTokens(CXTranslationUnit TU, CXToken Tokens, @Cast(value="unsigned") int NumTokens)
@ByVal public static CXString clang_getCursorKindSpelling(@Cast(value="CXCursorKind") int Kind)
public static void clang_getDefinitionSpellingAndExtent(@ByVal CXCursor arg0, @Cast(value="const char**") PointerPointer startBuf, @Cast(value="const char**") PointerPointer endBuf, @Cast(value="unsigned*") IntPointer startLine, @Cast(value="unsigned*") IntPointer startColumn, @Cast(value="unsigned*") IntPointer endLine, @Cast(value="unsigned*") IntPointer endColumn)
public static void clang_getDefinitionSpellingAndExtent(@ByVal CXCursor arg0, @Cast(value="const char**") @ByPtrPtr BytePointer startBuf, @Cast(value="const char**") @ByPtrPtr BytePointer endBuf, @Cast(value="unsigned*") IntPointer startLine, @Cast(value="unsigned*") IntPointer startColumn, @Cast(value="unsigned*") IntPointer endLine, @Cast(value="unsigned*") IntPointer endColumn)
public static void clang_getDefinitionSpellingAndExtent(@ByVal CXCursor arg0, @Cast(value="const char**") @ByPtrPtr ByteBuffer startBuf, @Cast(value="const char**") @ByPtrPtr ByteBuffer endBuf, @Cast(value="unsigned*") IntBuffer startLine, @Cast(value="unsigned*") IntBuffer startColumn, @Cast(value="unsigned*") IntBuffer endLine, @Cast(value="unsigned*") IntBuffer endColumn)
public static void clang_getDefinitionSpellingAndExtent(@ByVal CXCursor arg0, @Cast(value="const char**") @ByPtrPtr byte[] startBuf, @Cast(value="const char**") @ByPtrPtr byte[] endBuf, @Cast(value="unsigned*") int[] startLine, @Cast(value="unsigned*") int[] startColumn, @Cast(value="unsigned*") int[] endLine, @Cast(value="unsigned*") int[] endColumn)
public static void clang_enableStackTraces()
public static void clang_executeOnThread(Fn_Pointer fn, Pointer user_data, @Cast(value="unsigned") int stack_size)
@Cast(value="CXCompletionChunkKind") public static int clang_getCompletionChunkKind(CXCompletionString completion_string, @Cast(value="unsigned") int chunk_number)
completion_string
- the completion string to query.chunk_number
- the 0-based index of the chunk in the completion string.@ByVal public static CXString clang_getCompletionChunkText(CXCompletionString completion_string, @Cast(value="unsigned") int chunk_number)
completion_string
- the completion string to query.chunk_number
- the 0-based index of the chunk in the completion string.public static CXCompletionString clang_getCompletionChunkCompletionString(CXCompletionString completion_string, @Cast(value="unsigned") int chunk_number)
completion_string
- the completion string to query.chunk_number
- the 0-based index of the chunk in the completion string.@Cast(value="unsigned") public static int clang_getNumCompletionChunks(CXCompletionString completion_string)
@Cast(value="unsigned") public static int clang_getCompletionPriority(CXCompletionString completion_string)
completion_string
- The completion string to query.@Cast(value="CXAvailabilityKind") public static int clang_getCompletionAvailability(CXCompletionString completion_string)
completion_string
- The completion string to query.@Cast(value="unsigned") public static int clang_getCompletionNumAnnotations(CXCompletionString completion_string)
completion_string
- the completion string to query.@ByVal public static CXString clang_getCompletionAnnotation(CXCompletionString completion_string, @Cast(value="unsigned") int annotation_number)
completion_string
- the completion string to query.annotation_number
- the 0-based index of the annotation of the
completion string.@ByVal public static CXString clang_getCompletionParent(CXCompletionString completion_string, @Cast(value="CXCursorKind*") IntPointer kind)
completion_string
- The code completion string whose parent is
being queried.kind
- DEPRECATED: always set to CXCursor_NotImplemented if non-NULL.@ByVal public static CXString clang_getCompletionParent(CXCompletionString completion_string, @Cast(value="CXCursorKind*") IntBuffer kind)
@ByVal public static CXString clang_getCompletionParent(CXCompletionString completion_string, @Cast(value="CXCursorKind*") int[] kind)
@ByVal public static CXString clang_getCompletionBriefComment(CXCompletionString completion_string)
public static CXCompletionString clang_getCursorCompletionString(@ByVal CXCursor cursor)
cursor
- The cursor to query.@Cast(value="unsigned") public static int clang_getCompletionNumFixIts(CXCodeCompleteResults results, @Cast(value="unsigned") int completion_index)
results
- The structure keeping all completion resultscompletion_index
- The index of the completion@ByVal public static CXString clang_getCompletionFixIt(CXCodeCompleteResults results, @Cast(value="unsigned") int completion_index, @Cast(value="unsigned") int fixit_index, CXSourceRange replacement_range)
results
- The structure keeping all completion resultscompletion_index
- The index of the completionfixit_index
- The index of the fix-it for the completion at
completion_indexreplacement_range
- The fix-it range that must be replaced before the
completion at completion_index can be applied@Cast(value="unsigned") public static int clang_defaultCodeCompleteOptions()
public static CXCodeCompleteResults clang_codeCompleteAt(CXTranslationUnit TU, @Cast(value="const char*") BytePointer complete_filename, @Cast(value="unsigned") int complete_line, @Cast(value="unsigned") int complete_column, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
TU
- 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 \p unsaved_files). Cursors referring into the
translation unit may be invalidated by this invocation.complete_filename
- The name of the source file where code
completion should be performed. This filename may be any file
included in the translation unit.complete_line
- The line at which code-completion should occur.complete_column
- 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.unsaved_files
- 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.num_unsaved_files
- The number of unsaved file entries in \p
unsaved_files.options
- Extra options that control the behavior of code
completion, expressed as a bitwise OR of the enumerators of the
CXCodeComplete_Flags enumeration. The
\c clang_defaultCodeCompleteOptions() function returns a default set
of code-completion options.public static CXCodeCompleteResults clang_codeCompleteAt(CXTranslationUnit TU, String complete_filename, @Cast(value="unsigned") int complete_line, @Cast(value="unsigned") int complete_column, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="unsigned") int options)
public static void clang_sortCodeCompletionResults(CXCompletionResult Results, @Cast(value="unsigned") int NumResults)
Results
- The set of results to sort.NumResults
- The number of results in \p Results.public static void clang_disposeCodeCompleteResults(CXCodeCompleteResults Results)
@Cast(value="unsigned") public static int clang_codeCompleteGetNumDiagnostics(CXCodeCompleteResults Results)
public static CXDiagnostic clang_codeCompleteGetDiagnostic(CXCodeCompleteResults Results, @Cast(value="unsigned") int Index)
Results
- the code completion results to query.Index
- the zero-based diagnostic number to retrieve.@Cast(value="unsigned long long") public static long clang_codeCompleteGetContexts(CXCodeCompleteResults Results)
Results
- the code completion results to query@Cast(value="CXCursorKind") public static int clang_codeCompleteGetContainerKind(CXCodeCompleteResults Results, @Cast(value="unsigned*") IntPointer IsIncomplete)
Results
- the code completion results to queryIsIncomplete
- 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.@Cast(value="CXCursorKind") public static int clang_codeCompleteGetContainerKind(CXCodeCompleteResults Results, @Cast(value="unsigned*") IntBuffer IsIncomplete)
@Cast(value="CXCursorKind") public static int clang_codeCompleteGetContainerKind(CXCodeCompleteResults Results, @Cast(value="unsigned*") int[] IsIncomplete)
@ByVal public static CXString clang_codeCompleteGetContainerUSR(CXCodeCompleteResults Results)
Results
- the code completion results to query@ByVal public static CXString clang_codeCompleteGetObjCSelector(CXCodeCompleteResults Results)
Results
- the code completion results to query@ByVal public static CXString clang_getClangVersion()
public static void clang_toggleCrashRecovery(@Cast(value="unsigned") int isEnabled)
isEnabled
- Flag to indicate if crash recovery is enabled. A non-zero
value enables crash recovery, while 0 disables it.public static void clang_getInclusions(CXTranslationUnit tu, CXInclusionVisitor visitor, CXClientData client_data)
public static CXEvalResult clang_Cursor_Evaluate(@ByVal CXCursor C)
@Cast(value="CXEvalResultKind") public static int clang_EvalResult_getKind(CXEvalResult E)
public static int clang_EvalResult_getAsInt(CXEvalResult E)
public static long clang_EvalResult_getAsLongLong(CXEvalResult E)
@Cast(value="unsigned") public static int clang_EvalResult_isUnsignedInt(CXEvalResult E)
@Cast(value="unsigned long long") public static long clang_EvalResult_getAsUnsigned(CXEvalResult E)
public static double clang_EvalResult_getAsDouble(CXEvalResult E)
@Cast(value="const char*") public static BytePointer clang_EvalResult_getAsStr(CXEvalResult E)
public static void clang_EvalResult_dispose(CXEvalResult E)
public static CXRemapping clang_getRemappings(@Cast(value="const char*") BytePointer path)
path
- the path that contains metadata about remappings.public static CXRemapping clang_getRemappings(String path)
public static CXRemapping clang_getRemappingsFromFileList(@Cast(value="const char**") PointerPointer filePaths, @Cast(value="unsigned") int numFiles)
filePaths
- pointer to an array of file paths containing remapping info.numFiles
- number of file paths.public static CXRemapping clang_getRemappingsFromFileList(@Cast(value="const char**") @ByPtrPtr BytePointer filePaths, @Cast(value="unsigned") int numFiles)
public static CXRemapping clang_getRemappingsFromFileList(@Cast(value="const char**") @ByPtrPtr ByteBuffer filePaths, @Cast(value="unsigned") int numFiles)
public static CXRemapping clang_getRemappingsFromFileList(@Cast(value="const char**") @ByPtrPtr byte[] filePaths, @Cast(value="unsigned") int numFiles)
@Cast(value="unsigned") public static int clang_remap_getNumFiles(CXRemapping arg0)
public static void clang_remap_getFilenames(CXRemapping arg0, @Cast(value="unsigned") int index, CXString original, CXString transformed)
original
- If non-NULL, will be set to the original filename.transformed
- If non-NULL, will be set to the filename that the original
is associated with.public static void clang_remap_dispose(CXRemapping arg0)
@Cast(value="CXResult") public static int clang_findReferencesInFile(@ByVal CXCursor cursor, CXFile file, @ByVal CXCursorAndRangeVisitor visitor)
cursor
- pointing to a declaration or a reference of one.file
- to search for references.visitor
- 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.@Cast(value="CXResult") public static int clang_findIncludesInFile(CXTranslationUnit TU, CXFile file, @ByVal CXCursorAndRangeVisitor visitor)
TU
- translation unit containing the file to query.file
- to search for #import/#include directives.visitor
- callback that will receive pairs of CXCursor/CXSourceRange for
each directive found.public static int clang_index_isEntityObjCContainerKind(@Cast(value="CXIdxEntityKind") int arg0)
@Const public static CXIdxObjCContainerDeclInfo clang_index_getObjCContainerDeclInfo(@Const CXIdxDeclInfo arg0)
@Const public static CXIdxObjCInterfaceDeclInfo clang_index_getObjCInterfaceDeclInfo(@Const CXIdxDeclInfo arg0)
@Const public static CXIdxObjCCategoryDeclInfo clang_index_getObjCCategoryDeclInfo(@Const CXIdxDeclInfo arg0)
@Const public static CXIdxObjCProtocolRefListInfo clang_index_getObjCProtocolRefListInfo(@Const CXIdxDeclInfo arg0)
@Const public static CXIdxObjCPropertyDeclInfo clang_index_getObjCPropertyDeclInfo(@Const CXIdxDeclInfo arg0)
@Const public static CXIdxIBOutletCollectionAttrInfo clang_index_getIBOutletCollectionAttrInfo(@Const CXIdxAttrInfo arg0)
@Const public static CXIdxCXXClassDeclInfo clang_index_getCXXClassDeclInfo(@Const CXIdxDeclInfo arg0)
public static CXIdxClientContainer clang_index_getClientContainer(@Const CXIdxContainerInfo arg0)
public static void clang_index_setClientContainer(@Const CXIdxContainerInfo arg0, CXIdxClientContainer arg1)
public static CXIdxClientEntity clang_index_getClientEntity(@Const CXIdxEntityInfo arg0)
public static void clang_index_setClientEntity(@Const CXIdxEntityInfo arg0, CXIdxClientEntity arg1)
public static CXIndexAction clang_IndexAction_create(CXIndex CIdx)
CIdx
- The index object with which the index action will be associated.public static void clang_IndexAction_dispose(CXIndexAction arg0)
public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") PointerPointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
client_data
- pointer data supplied by the client, which will
be passed to the invoked callbacks.index_callbacks
- Pointer to indexing callbacks that the client
implements.index_callbacks_size
- Size of #IndexerCallbacks structure that gets
passed in index_callbacks.index_options
- A bitmask of options that affects how indexing is
performed. This should be a bitwise OR of the CXIndexOpt_XXX flags.out_TU
- [out] pointer to store a \c CXTranslationUnit that can be
reused after indexing is finished. Set to \c NULL if you do not require it.public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, String source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="CXTranslationUnit*") PointerPointer out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, String source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="CXTranslationUnit*") PointerPointer out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFile(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, String source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="CXTranslationUnit*") PointerPointer out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") PointerPointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, String source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="CXTranslationUnit*") PointerPointer out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, String source_filename, @Cast(value="const char*const*") @ByPtrPtr BytePointer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="CXTranslationUnit*") PointerPointer out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, @Cast(value="const char*") BytePointer source_filename, @Cast(value="const char*const*") @ByPtrPtr ByteBuffer command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @ByPtrPtr CXTranslationUnit out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexSourceFileFullArgv(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, String source_filename, @Cast(value="const char*const*") @ByPtrPtr byte[] command_line_args, int num_command_line_args, CXUnsavedFile unsaved_files, @Cast(value="unsigned") int num_unsaved_files, @Cast(value="CXTranslationUnit*") PointerPointer out_TU, @Cast(value="unsigned") int TU_options)
public static int clang_indexTranslationUnit(CXIndexAction arg0, CXClientData client_data, IndexerCallbacks index_callbacks, @Cast(value="unsigned") int index_callbacks_size, @Cast(value="unsigned") int index_options, CXTranslationUnit arg5)
public static void clang_indexLoc_getFileLocation(@ByVal CXIdxLoc loc, @ByPtrPtr CXIdxClientFile indexFile, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntPointer line, @Cast(value="unsigned*") IntPointer column, @Cast(value="unsigned*") IntPointer offset)
public static void clang_indexLoc_getFileLocation(@ByVal CXIdxLoc loc, @ByPtrPtr CXIdxClientFile indexFile, @ByPtrPtr CXFile file, @Cast(value="unsigned*") IntBuffer line, @Cast(value="unsigned*") IntBuffer column, @Cast(value="unsigned*") IntBuffer offset)
public static void clang_indexLoc_getFileLocation(@ByVal CXIdxLoc loc, @ByPtrPtr CXIdxClientFile indexFile, @ByPtrPtr CXFile file, @Cast(value="unsigned*") int[] line, @Cast(value="unsigned*") int[] column, @Cast(value="unsigned*") int[] offset)
@ByVal public static CXSourceLocation clang_indexLoc_getCXSourceLocation(@ByVal CXIdxLoc loc)
@Cast(value="unsigned") public static int clang_Type_visitFields(@ByVal CXType T, CXFieldVisitor visitor, CXClientData client_data)
T
- the record type whose field may be visited.visitor
- the visitor function that will be invoked for each
field of \p T.client_data
- pointer data supplied by the client, which will
be passed to the visitor each time it is invoked.@ByVal public static CXString clang_getBinaryOperatorKindSpelling(@Cast(value="CXBinaryOperatorKind") int kind)
@Cast(value="CXBinaryOperatorKind") public static int clang_getCursorBinaryOperatorKind(@ByVal CXCursor cursor)
@ByVal public static CXString clang_getUnaryOperatorKindSpelling(@Cast(value="CXUnaryOperatorKind") int kind)
@Cast(value="CXUnaryOperatorKind") public static int clang_getCursorUnaryOperatorKind(@ByVal CXCursor cursor)
@ByVal public static CXComment clang_Cursor_getParsedComment(@ByVal CXCursor C)
@Cast(value="CXCommentKind") public static int clang_Comment_getKind(@ByVal CXComment Comment)
Comment
- AST node of any kind.@Cast(value="unsigned") public static int clang_Comment_getNumChildren(@ByVal CXComment Comment)
Comment
- AST node of any kind.@ByVal public static CXComment clang_Comment_getChild(@ByVal CXComment Comment, @Cast(value="unsigned") int ChildIdx)
Comment
- AST node of any kind.ChildIdx
- child index (zero-based).@Cast(value="unsigned") public static int clang_Comment_isWhitespace(@ByVal CXComment Comment)
@Cast(value="unsigned") public static int clang_InlineContentComment_hasTrailingNewline(@ByVal CXComment Comment)
@ByVal public static CXString clang_TextComment_getText(@ByVal CXComment Comment)
Comment
- a \c CXComment_Text AST node.@ByVal public static CXString clang_InlineCommandComment_getCommandName(@ByVal CXComment Comment)
Comment
- a \c CXComment_InlineCommand AST node.@Cast(value="CXCommentInlineCommandRenderKind") public static int clang_InlineCommandComment_getRenderKind(@ByVal CXComment Comment)
Comment
- a \c CXComment_InlineCommand AST node.@Cast(value="unsigned") public static int clang_InlineCommandComment_getNumArgs(@ByVal CXComment Comment)
Comment
- a \c CXComment_InlineCommand AST node.@ByVal public static CXString clang_InlineCommandComment_getArgText(@ByVal CXComment Comment, @Cast(value="unsigned") int ArgIdx)
Comment
- a \c CXComment_InlineCommand AST node.ArgIdx
- argument index (zero-based).@ByVal public static CXString clang_HTMLTagComment_getTagName(@ByVal CXComment Comment)
Comment
- a \c CXComment_HTMLStartTag or \c CXComment_HTMLEndTag AST
node.@Cast(value="unsigned") public static int clang_HTMLStartTagComment_isSelfClosing(@ByVal CXComment Comment)
Comment
- a \c CXComment_HTMLStartTag AST node.@Cast(value="unsigned") public static int clang_HTMLStartTag_getNumAttrs(@ByVal CXComment Comment)
Comment
- a \c CXComment_HTMLStartTag AST node.@ByVal public static CXString clang_HTMLStartTag_getAttrName(@ByVal CXComment Comment, @Cast(value="unsigned") int AttrIdx)
Comment
- a \c CXComment_HTMLStartTag AST node.AttrIdx
- attribute index (zero-based).@ByVal public static CXString clang_HTMLStartTag_getAttrValue(@ByVal CXComment Comment, @Cast(value="unsigned") int AttrIdx)
Comment
- a \c CXComment_HTMLStartTag AST node.AttrIdx
- attribute index (zero-based).@ByVal public static CXString clang_BlockCommandComment_getCommandName(@ByVal CXComment Comment)
Comment
- a \c CXComment_BlockCommand AST node.@Cast(value="unsigned") public static int clang_BlockCommandComment_getNumArgs(@ByVal CXComment Comment)
Comment
- a \c CXComment_BlockCommand AST node.@ByVal public static CXString clang_BlockCommandComment_getArgText(@ByVal CXComment Comment, @Cast(value="unsigned") int ArgIdx)
Comment
- a \c CXComment_BlockCommand AST node.ArgIdx
- argument index (zero-based).@ByVal public static CXComment clang_BlockCommandComment_getParagraph(@ByVal CXComment Comment)
Comment
- a \c CXComment_BlockCommand or
\c CXComment_VerbatimBlockCommand AST node.@ByVal public static CXString clang_ParamCommandComment_getParamName(@ByVal CXComment Comment)
Comment
- a \c CXComment_ParamCommand AST node.@Cast(value="unsigned") public static int clang_ParamCommandComment_isParamIndexValid(@ByVal CXComment Comment)
Comment
- a \c CXComment_ParamCommand AST node.@Cast(value="unsigned") public static int clang_ParamCommandComment_getParamIndex(@ByVal CXComment Comment)
Comment
- a \c CXComment_ParamCommand AST node.@Cast(value="unsigned") public static int clang_ParamCommandComment_isDirectionExplicit(@ByVal CXComment Comment)
Comment
- a \c CXComment_ParamCommand AST node.@Cast(value="CXCommentParamPassDirection") public static int clang_ParamCommandComment_getDirection(@ByVal CXComment Comment)
Comment
- a \c CXComment_ParamCommand AST node.@ByVal public static CXString clang_TParamCommandComment_getParamName(@ByVal CXComment Comment)
Comment
- a \c CXComment_TParamCommand AST node.@Cast(value="unsigned") public static int clang_TParamCommandComment_isParamPositionValid(@ByVal CXComment Comment)
Comment
- a \c CXComment_TParamCommand AST node.@Cast(value="unsigned") public static int clang_TParamCommandComment_getDepth(@ByVal CXComment Comment)
Comment
- a \c CXComment_TParamCommand AST node.template<typename C, template<typename T> class TT> void test(TT<int> aaa);for C and TT nesting depth is 0, for T nesting depth is 1.
@Cast(value="unsigned") public static int clang_TParamCommandComment_getIndex(@ByVal CXComment Comment, @Cast(value="unsigned") int Depth)
Comment
- a \c CXComment_TParamCommand AST node.template<typename C, template<typename T> class TT> void test(TT<int> aaa);for C and TT nesting depth is 0, so we can ask for index at depth 0: at depth 0 C's index is 0, TT's index is 1. For T nesting depth is 1, so we can ask for index at depth 0 and 1: at depth 0 T's index is 1 (same as TT's), at depth 1 T's index is 0.
@ByVal public static CXString clang_VerbatimBlockLineComment_getText(@ByVal CXComment Comment)
Comment
- a \c CXComment_VerbatimBlockLine AST node.@ByVal public static CXString clang_VerbatimLineComment_getText(@ByVal CXComment Comment)
Comment
- a \c CXComment_VerbatimLine AST node.@ByVal public static CXString clang_HTMLTagComment_getAsString(@ByVal CXComment Comment)
Comment
- a \c CXComment_HTMLStartTag or \c CXComment_HTMLEndTag AST
node.@ByVal public static CXString clang_FullComment_getAsHTML(@ByVal CXComment Comment)
Comment
- a \c CXComment_FullComment AST node.@ByVal public static CXString clang_FullComment_getAsXML(@ByVal CXComment Comment)
Comment
- a \c CXComment_FullComment AST node.@Cast(value="CXErrorCode") public static int clang_createAPISet(CXTranslationUnit tu, @ByPtrPtr CXAPISet out_api)
tu
- is the \c CXTranslationUnit to build the \c CXAPISet for.out_api
- is a pointer to the output of this function. It is needs to be
disposed of by calling clang_disposeAPISet.@Cast(value="CXErrorCode") public static int clang_createAPISet(CXTranslationUnit tu, @Cast(value="CXAPISet*") PointerPointer out_api)
public static void clang_disposeAPISet(CXAPISet api)
@ByVal public static CXString clang_getSymbolGraphForUSR(@Cast(value="const char*") BytePointer usr, CXAPISet api)
usr
- is a string containing the USR of the symbol to generate the
symbol graph for.api
- the \c CXAPISet to look for the symbol in.@ByVal public static CXString clang_getSymbolGraphForUSR(String usr, CXAPISet api)
@ByVal public static CXString clang_getSymbolGraphForCursor(@ByVal CXCursor cursor)
cursor
- the declaration for which to generate the single symbol symbol
graph.Copyright © 2024. All rights reserved.