| Package | Description |
|---|---|
| org.bytedeco.llvm.clang | |
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
CXType |
CXType.data(int i,
Pointer setter) |
CXType |
CXType.getPointer(long i) |
CXType |
CXType.kind(int setter) |
CXType |
CXType.position(long position) |
| Modifier and Type | Method and Description |
|---|---|
static CXType |
clang.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 CXType |
clang.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 CXType |
clang.clang_getArgType(CXType T,
int i)
Retrieve the type of a parameter of a function type.
|
static CXType |
clang.clang_getArrayElementType(CXType T)
Return the element type of an array type.
|
static CXType |
clang.clang_getCanonicalType(CXType T)
Return the canonical type for a CXType.
|
static CXType |
clang.clang_getCursorResultType(CXCursor C)
Retrieve the return type associated with a given cursor.
|
static CXType |
clang.clang_getCursorType(CXCursor C)
Retrieve the type of a CXCursor (if any).
|
static CXType |
clang.clang_getElementType(CXType T)
Return the element type of an array, complex, or vector type.
|
static CXType |
clang.clang_getEnumDeclIntegerType(CXCursor C)
Retrieve the integer type of an enum declaration.
|
static CXType |
clang.clang_getIBOutletCollectionType(CXCursor arg0)
For cursors representing an iboutletcollection attribute,
this function returns the collection element type.
|
static CXType |
clang.clang_getNonReferenceType(CXType CT)
For reference types (e.g., "const int&"), returns the type that the
reference refers to (e.g "const int").
|
static CXType |
clang.clang_getPointeeType(CXType T)
For pointer types, returns the type of the pointee.
|
static CXType |
clang.clang_getResultType(CXType T)
Retrieve the return type associated with a function type.
|
static CXType |
clang.clang_getTypedefDeclUnderlyingType(CXCursor C)
Retrieve the underlying type of a typedef declaration.
|
static CXType |
clang.clang_getUnqualifiedType(CXType CT)
Retrieve the unqualified variant of the given type, removing as
little sugar as possible.
|
static CXType |
clang.clang_Type_getClassType(CXType T)
Return the class type of an member pointer type.
|
static CXType |
clang.clang_Type_getModifiedType(CXType T)
Return the type that was modified by this attributed type.
|
static CXType |
clang.clang_Type_getNamedType(CXType T)
Retrieve the type named by the qualified-id.
|
static CXType |
clang.clang_Type_getObjCObjectBaseType(CXType T)
Retrieves the base type of the ObjCObjectType.
|
static CXType |
clang.clang_Type_getObjCTypeArg(CXType T,
int i)
Retrieve a type argument associated with an ObjC object.
|
static CXType |
clang.clang_Type_getTemplateArgumentAsType(CXType T,
int i)
Returns the type template argument of a template class specialization
at given index.
|
static CXType |
clang.clang_Type_getValueType(CXType CT)
Gets the type contained by this atomic type.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
clang.clang_equalTypes(CXType A,
CXType B)
Determine whether two CXTypes represent the same type.
|
static int |
clang.clang_getAddressSpace(CXType T)
Returns the address space of the given type.
|
static CXType |
clang.clang_getArgType(CXType T,
int i)
Retrieve the type of a parameter of a function type.
|
static CXType |
clang.clang_getArrayElementType(CXType T)
Return the element type of an array type.
|
static long |
clang.clang_getArraySize(CXType T)
Return the array size of a constant array.
|
static CXType |
clang.clang_getCanonicalType(CXType T)
Return the canonical type for a CXType.
|
static CXType |
clang.clang_getElementType(CXType T)
Return the element type of an array, complex, or vector type.
|
static int |
clang.clang_getExceptionSpecificationType(CXType T)
Retrieve the exception specification type associated with a function type.
|
static int |
clang.clang_getFunctionTypeCallingConv(CXType T)
Retrieve the calling convention associated with a function type.
|
static CXType |
clang.clang_getNonReferenceType(CXType CT)
For reference types (e.g., "const int&"), returns the type that the
reference refers to (e.g "const int").
|
static int |
clang.clang_getNumArgTypes(CXType T)
Retrieve the number of non-variadic parameters associated with a
function type.
|
static long |
clang.clang_getNumElements(CXType T)
Return the number of elements of an array or vector type.
|
static CXType |
clang.clang_getPointeeType(CXType T)
For pointer types, returns the type of the pointee.
|
static CXType |
clang.clang_getResultType(CXType T)
Retrieve the return type associated with a function type.
|
static CXCursor |
clang.clang_getTypeDeclaration(CXType T)
Return the cursor for the declaration of the given type.
|
static CXString |
clang.clang_getTypedefName(CXType CT)
Returns the typedef name of the given type.
|
static CXString |
clang.clang_getTypePrettyPrinted(CXType CT,
CXPrintingPolicy cxPolicy)
Pretty-print the underlying type using a custom printing policy.
|
static CXString |
clang.clang_getTypeSpelling(CXType CT)
Pretty-print the underlying type using the rules of the
language of the translation unit from which it came.
|
static CXType |
clang.clang_getUnqualifiedType(CXType CT)
Retrieve the unqualified variant of the given type, removing as
little sugar as possible.
|
static int |
clang.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.clang_isFunctionTypeVariadic(CXType T)
Return 1 if the CXType is a variadic function type, and 0 otherwise.
|
static int |
clang.clang_isPODType(CXType T)
Return 1 if the CXType is a POD (plain old data) type, and 0
otherwise.
|
static int |
clang.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.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 long |
clang.clang_Type_getAlignOf(CXType T)
Return the alignment of a type in bytes as per C++[expr.alignof]
standard.
|
static CXType |
clang.clang_Type_getClassType(CXType T)
Return the class type of an member pointer type.
|
static int |
clang.clang_Type_getCXXRefQualifier(CXType T)
Retrieve the ref-qualifier kind of a function or method.
|
static CXType |
clang.clang_Type_getModifiedType(CXType T)
Return the type that was modified by this attributed type.
|
static CXType |
clang.clang_Type_getNamedType(CXType T)
Retrieve the type named by the qualified-id.
|
static int |
clang.clang_Type_getNullability(CXType T)
Retrieve the nullability kind of a pointer type.
|
static int |
clang.clang_Type_getNumObjCProtocolRefs(CXType T)
Retrieve the number of protocol references associated with an ObjC object/id.
|
static int |
clang.clang_Type_getNumObjCTypeArgs(CXType T)
Retrieve the number of type arguments associated with an ObjC object.
|
static int |
clang.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.clang_Type_getObjCEncoding(CXType type)
Returns the Objective-C type encoding for the specified CXType.
|
static CXType |
clang.clang_Type_getObjCObjectBaseType(CXType T)
Retrieves the base type of the ObjCObjectType.
|
static CXCursor |
clang.clang_Type_getObjCProtocolDecl(CXType T,
int i)
Retrieve the decl for a protocol reference for an ObjC object/id.
|
static CXType |
clang.clang_Type_getObjCTypeArg(CXType T,
int i)
Retrieve a type argument associated with an ObjC object.
|
static long |
clang.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.clang_Type_getOffsetOf(CXType T,
String S) |
static long |
clang.clang_Type_getSizeOf(CXType T)
Return the size of a type in bytes as per C++[expr.sizeof] standard.
|
static CXType |
clang.clang_Type_getTemplateArgumentAsType(CXType T,
int i)
Returns the type template argument of a template class specialization
at given index.
|
static CXType |
clang.clang_Type_getValueType(CXType CT)
Gets the type contained by this atomic type.
|
static int |
clang.clang_Type_isTransparentTagTypedef(CXType T)
Determine if a typedef is 'transparent' tag.
|
static int |
clang.clang_Type_visitFields(CXType T,
CXFieldVisitor visitor,
CXClientData client_data)
Visit the fields of a particular type.
|
static int |
clang.clang_visitCXXBaseClasses(CXType T,
CXFieldVisitor visitor,
CXClientData client_data)
Visit the base classes of a type.
|
Copyright © 2025. All rights reserved.