All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.fastffi.clang.ASTContext_cxx_0xb01a2b7e Maven / Gradle / Ivy

The newest version!
package com.alibaba.fastffi.clang;

import com.alibaba.fastffi.CXXOperator;
import com.alibaba.fastffi.CXXReference;
import com.alibaba.fastffi.CXXValue;
import com.alibaba.fastffi.FFIForeignType;
import com.alibaba.fastffi.FFIPointerImpl;
import com.alibaba.fastffi.FFISynthetic;
import com.alibaba.fastffi.FFITypeFactory;
import com.alibaba.fastffi.llvm.SmallVectorImpl;
import java.lang.Object;
import java.lang.String;
import java.lang.UnsatisfiedLinkError;

@FFIForeignType("clang::ASTContext")
@FFISynthetic("com.alibaba.fastffi.clang.ASTContext")
public class ASTContext_cxx_0xb01a2b7e extends FFIPointerImpl implements ASTContext {
  public static final int SIZE;

  public static final int HASH_SHIFT;

  static {
    try {
      System.loadLibrary("llvm4jni");
    } catch (UnsatisfiedLinkError e) {
      System.load(FFITypeFactory.findNativeLibrary(ASTContext_cxx_0xb01a2b7e.class, "llvm4jni"));
    }
  }
  static {
    SIZE = _elementSize$$$();
    assert SIZE > 0;
    HASH_SHIFT = 31 - Integer.numberOfLeadingZeros(1 + SIZE);
    assert HASH_SHIFT > 0;
  }

  public ASTContext_cxx_0xb01a2b7e(final long address) {
    super(address);
  }

  private static final native int _elementSize$$$();

  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    ASTContext_cxx_0xb01a2b7e that = (ASTContext_cxx_0xb01a2b7e) o;
    return this.address == that.address;
  }

  public int hashCode() {
    return (int) (address >> HASH_SHIFT);
  }

  public String toString() {
    return getClass().getName() + "@" + Long.toHexString(address);
  }

  @CXXOperator("delete")
  public void delete() {
    nativeDelete(address);
  }

  @CXXOperator("delete")
  public static native void nativeDelete(long ptr);

  public long getASTAllocatedMemory() {
    return nativeGetASTAllocatedMemory(address);
  }

  public static native long nativeGetASTAllocatedMemory(long ptr);

  @CXXValue
  public QualType getAdjustedType(@CXXValue QualType Orig, @CXXValue QualType New) {
    long ret$ = nativeGetAdjustedType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Orig).address, ((com.alibaba.fastffi.FFIPointerImpl) New).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetAdjustedType(long ptr, long rv_base, long Orig0, long New1);

  @CXXValue
  public QualType getAttributedType(@CXXValue AttrKind attrKind, @CXXValue QualType modifiedType,
      @CXXValue QualType equivalentType) {
    long ret$ = nativeGetAttributedType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), attrKind.getValue(), ((com.alibaba.fastffi.FFIPointerImpl) modifiedType).address, ((com.alibaba.fastffi.FFIPointerImpl) equivalentType).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetAttributedType(long ptr, long rv_base, int attrKind0,
      long modifiedType1, long equivalentType2);

  @CXXValue
  public TemplateArgument getCanonicalTemplateArgument(@CXXReference TemplateArgument Arg) {
    long ret$ = nativeGetCanonicalTemplateArgument(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.TemplateArgument_cxx_0xc958b748.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Arg).address); return (new com.alibaba.fastffi.clang.TemplateArgument_cxx_0xc958b748(ret$));
  }

  @CXXValue
  public static native long nativeGetCanonicalTemplateArgument(long ptr, long rv_base, long Arg0);

  @CXXValue
  public QualType getCanonicalTemplateSpecializationType(@CXXValue TemplateName T,
      @CXXValue TemplateArgumentArray Args) {
    long ret$ = nativeGetCanonicalTemplateSpecializationType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetCanonicalTemplateSpecializationType(long ptr, long rv_base,
      long T0, long Args1);

  public Type getCanonicalType(Type T) {
    long ret$ = nativeGetCanonicalType(address, ((com.alibaba.fastffi.FFIPointerImpl) T).address); return com.alibaba.fastffi.clang.TypeRefiner.refine(ret$ == 0L ? null : new com.alibaba.fastffi.clang.Type_cxx_0x231072ab(ret$));
  }

  public static native long nativeGetCanonicalType(long ptr, long T0);

  @CXXValue
  public QualType getConstType(@CXXValue QualType T) {
    long ret$ = nativeGetConstType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetConstType(long ptr, long rv_base, long T0);

  @CXXValue
  public QualType getDependentNameType(@CXXValue ElaboratedTypeKeyword Keyword,
      NestedNameSpecifier NNS, IdentifierInfo Name, @CXXValue QualType Canon) {
    long ret$ = nativeGetDependentNameType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), Keyword.getValue(), ((com.alibaba.fastffi.FFIPointerImpl) NNS).address, ((com.alibaba.fastffi.FFIPointerImpl) Name).address, ((com.alibaba.fastffi.FFIPointerImpl) Canon).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetDependentNameType(long ptr, long rv_base, int Keyword0,
      long NNS1, long Name2, long Canon3);

  @CXXValue
  public QualType getDependentTemplateSpecializationType(@CXXValue ElaboratedTypeKeyword Keyword,
      NestedNameSpecifier NNS, IdentifierInfo Name, @CXXReference TemplateArgumentListInfo Args) {
    long ret$ = nativeGetDependentTemplateSpecializationType0(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), Keyword.getValue(), ((com.alibaba.fastffi.FFIPointerImpl) NNS).address, ((com.alibaba.fastffi.FFIPointerImpl) Name).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetDependentTemplateSpecializationType0(long ptr, long rv_base,
      int Keyword0, long NNS1, long Name2, long Args3);

  @CXXValue
  public QualType getDependentTemplateSpecializationType(@CXXValue ElaboratedTypeKeyword Keyword,
      NestedNameSpecifier NNS, IdentifierInfo Name, @CXXValue TemplateArgumentArray Args) {
    long ret$ = nativeGetDependentTemplateSpecializationType1(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), Keyword.getValue(), ((com.alibaba.fastffi.FFIPointerImpl) NNS).address, ((com.alibaba.fastffi.FFIPointerImpl) Name).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetDependentTemplateSpecializationType1(long ptr, long rv_base,
      int Keyword0, long NNS1, long Name2, long Args3);

  @CXXValue
  public QualType getElaboratedType(@CXXValue ElaboratedTypeKeyword Keyword,
      NestedNameSpecifier NNS, @CXXValue QualType NamedType, TagDecl OwnedTagDecl) {
    long ret$ = nativeGetElaboratedType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), Keyword.getValue(), ((com.alibaba.fastffi.FFIPointerImpl) NNS).address, ((com.alibaba.fastffi.FFIPointerImpl) NamedType).address, ((com.alibaba.fastffi.FFIPointerImpl) OwnedTagDecl).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetElaboratedType(long ptr, long rv_base, int Keyword0, long NNS1,
      long NamedType2, long OwnedTagDecl3);

  @CXXValue
  public QualType getEnumType(EnumDecl Decl) {
    long ret$ = nativeGetEnumType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Decl).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetEnumType(long ptr, long rv_base, long Decl0);

  @CXXValue
  public QualType getInjectedClassNameType(CXXRecordDecl Decl, @CXXValue QualType TST) {
    long ret$ = nativeGetInjectedClassNameType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Decl).address, ((com.alibaba.fastffi.FFIPointerImpl) TST).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetInjectedClassNameType(long ptr, long rv_base, long Decl0,
      long TST1);

  @CXXValue
  public TemplateArgument getInjectedTemplateArg(NamedDecl ParamDecl) {
    long ret$ = nativeGetInjectedTemplateArg(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.TemplateArgument_cxx_0xc958b748.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) ParamDecl).address); return (new com.alibaba.fastffi.clang.TemplateArgument_cxx_0xc958b748(ret$));
  }

  @CXXValue
  public static native long nativeGetInjectedTemplateArg(long ptr, long rv_base, long ParamDecl0);

  public void getInjectedTemplateArgs(TemplateParameterList Params,
      @CXXReference SmallVectorImpl Args) {
    nativeGetInjectedTemplateArgs(address, ((com.alibaba.fastffi.FFIPointerImpl) Params).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address);
  }

  public static native void nativeGetInjectedTemplateArgs(long ptr, long Params0, long Args1);

  public TypedefDecl getInt128Decl() {
    long ret$ = nativeGetInt128Decl(address); return (ret$ == 0L ? null : new com.alibaba.fastffi.clang.TypedefDecl_cxx_0x505ab144(ret$));
  }

  public static native long nativeGetInt128Decl(long ptr);

  @CXXValue
  public QualType getIntPtrType() {
    long ret$ = nativeGetIntPtrType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetIntPtrType(long ptr, long rv_base);

  @CXXValue
  public QualType getLValueReferenceType(@CXXValue QualType T, boolean SpelledAsLValue) {
    long ret$ = nativeGetLValueReferenceType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address, SpelledAsLValue); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetLValueReferenceType(long ptr, long rv_base, long T0,
      boolean SpelledAsLValue1);

  @CXXValue
  public QualType getMacroQualifiedType(@CXXValue QualType UnderlyingTy, IdentifierInfo MacroII) {
    long ret$ = nativeGetMacroQualifiedType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) UnderlyingTy).address, ((com.alibaba.fastffi.FFIPointerImpl) MacroII).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetMacroQualifiedType(long ptr, long rv_base, long UnderlyingTy0,
      long MacroII1);

  @CXXValue
  public QualType getParenType(@CXXValue QualType NamedType) {
    long ret$ = nativeGetParenType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) NamedType).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetParenType(long ptr, long rv_base, long NamedType0);

  @CXXValue
  public QualType getPointerType(@CXXValue QualType T) {
    long ret$ = nativeGetPointerType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetPointerType(long ptr, long rv_base, long T0);

  public Decl getPrimaryMergedDecl(Decl D) {
    long ret$ = nativeGetPrimaryMergedDecl(address, ((com.alibaba.fastffi.FFIPointerImpl) D).address); return com.alibaba.fastffi.clang.DeclTypeRefiner.refine(ret$ == 0L ? null : new com.alibaba.fastffi.clang.Decl_cxx_0x2308e01b(ret$));
  }

  public static native long nativeGetPrimaryMergedDecl(long ptr, long D0);

  @CXXReference
  public PrintingPolicy getPrintingPolicy() {
    long ret$ = nativeGetPrintingPolicy(address); return (new com.alibaba.fastffi.clang.PrintingPolicy_cxx_0xd01e41d8(ret$));
  }

  @CXXReference
  public static native long nativeGetPrintingPolicy(long ptr);

  @CXXValue
  public QualType getRValueReferenceType(@CXXValue QualType T) {
    long ret$ = nativeGetRValueReferenceType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetRValueReferenceType(long ptr, long rv_base, long T0);

  @CXXValue
  public QualType getRecordType(RecordDecl Decl) {
    long ret$ = nativeGetRecordType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Decl).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetRecordType(long ptr, long rv_base, long Decl0);

  @CXXValue
  public QualType getRestrictType(@CXXValue QualType T) {
    long ret$ = nativeGetRestrictType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetRestrictType(long ptr, long rv_base, long T0);

  public long getSideTableAllocatedMemory() {
    return nativeGetSideTableAllocatedMemory(address);
  }

  public static native long nativeGetSideTableAllocatedMemory(long ptr);

  @CXXValue
  public QualType getSignedWCharType() {
    long ret$ = nativeGetSignedWCharType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetSignedWCharType(long ptr, long rv_base);

  @CXXReference
  public SourceManager getSourceManager() {
    long ret$ = nativeGetSourceManager(address); return (new com.alibaba.fastffi.clang.SourceManager_cxx_0x2c6c66c1(ret$));
  }

  @CXXReference
  public static native long nativeGetSourceManager(long ptr);

  @CXXValue
  public QualType getSubstTemplateTypeParmPackType(TemplateTypeParmType Replaced,
      @CXXReference TemplateArgument ArgPack) {
    long ret$ = nativeGetSubstTemplateTypeParmPackType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Replaced).address, ((com.alibaba.fastffi.FFIPointerImpl) ArgPack).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetSubstTemplateTypeParmPackType(long ptr, long rv_base,
      long Replaced0, long ArgPack1);

  @CXXValue
  public QualType getSubstTemplateTypeParmType(TemplateTypeParmType Replaced,
      @CXXValue QualType Replacement) {
    long ret$ = nativeGetSubstTemplateTypeParmType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Replaced).address, ((com.alibaba.fastffi.FFIPointerImpl) Replacement).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetSubstTemplateTypeParmType(long ptr, long rv_base,
      long Replaced0, long Replacement1);

  @CXXValue
  public QualType getTemplateSpecializationType(@CXXValue TemplateName T,
      @CXXReference TemplateArgumentListInfo Args, @CXXValue QualType Canon) {
    long ret$ = nativeGetTemplateSpecializationType0(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address, ((com.alibaba.fastffi.FFIPointerImpl) Canon).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetTemplateSpecializationType0(long ptr, long rv_base, long T0,
      long Args1, long Canon2);

  @CXXValue
  public QualType getTemplateSpecializationType(@CXXValue TemplateName T,
      @CXXValue TemplateArgumentArray Args, @CXXValue QualType Canon) {
    long ret$ = nativeGetTemplateSpecializationType1(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address, ((com.alibaba.fastffi.FFIPointerImpl) Canon).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetTemplateSpecializationType1(long ptr, long rv_base, long T0,
      long Args1, long Canon2);

  public TypeSourceInfo getTemplateSpecializationTypeInfo(@CXXValue TemplateName T,
      @CXXValue SourceLocation TLoc, @CXXReference TemplateArgumentListInfo Args,
      @CXXValue QualType Canon) {
    long ret$ = nativeGetTemplateSpecializationTypeInfo(address, ((com.alibaba.fastffi.FFIPointerImpl) T).address, ((com.alibaba.fastffi.FFIPointerImpl) TLoc).address, ((com.alibaba.fastffi.FFIPointerImpl) Args).address, ((com.alibaba.fastffi.FFIPointerImpl) Canon).address); return (ret$ == 0L ? null : new com.alibaba.fastffi.clang.TypeSourceInfo_cxx_0xffaf074(ret$));
  }

  public static native long nativeGetTemplateSpecializationTypeInfo(long ptr, long T0, long TLoc1,
      long Args2, long Canon3);

  @CXXValue
  public QualType getTemplateTypeParmType(int Depth, int Index, boolean ParameterPack,
      TemplateTypeParmDecl ParmDecl) {
    long ret$ = nativeGetTemplateTypeParmType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), Depth, Index, ParameterPack, ((com.alibaba.fastffi.FFIPointerImpl) ParmDecl).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetTemplateTypeParmType(long ptr, long rv_base, int Depth0,
      int Index1, boolean ParameterPack2, long ParmDecl3);

  public TranslationUnitDecl getTranslationUnitDecl() {
    long ret$ = nativeGetTranslationUnitDecl(address); return (ret$ == 0L ? null : new com.alibaba.fastffi.clang.TranslationUnitDecl_cxx_0xf910aa8e(ret$));
  }

  public static native long nativeGetTranslationUnitDecl(long ptr);

  public int getTypeAlign(Type T) {
    return nativeGetTypeAlign(address, ((com.alibaba.fastffi.FFIPointerImpl) T).address);
  }

  public static native int nativeGetTypeAlign(long ptr, long T0);

  @CXXValue
  public QualType getTypeDeclType(TypeDecl Decl, TypeDecl PrevDecl) {
    long ret$ = nativeGetTypeDeclType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Decl).address, ((com.alibaba.fastffi.FFIPointerImpl) PrevDecl).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetTypeDeclType(long ptr, long rv_base, long Decl0,
      long PrevDecl1);

  @CXXValue
  public QualType getTypeOfType(@CXXValue QualType t) {
    long ret$ = nativeGetTypeOfType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) t).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetTypeOfType(long ptr, long rv_base, long t0);

  public int getTypeUnadjustedAlign(@CXXValue QualType T) {
    return nativeGetTypeUnadjustedAlign0(address, ((com.alibaba.fastffi.FFIPointerImpl) T).address);
  }

  public static native int nativeGetTypeUnadjustedAlign0(long ptr, long T0);

  public int getTypeUnadjustedAlign(Type T) {
    return nativeGetTypeUnadjustedAlign1(address, ((com.alibaba.fastffi.FFIPointerImpl) T).address);
  }

  public static native int nativeGetTypeUnadjustedAlign1(long ptr, long T0);

  @CXXValue
  public QualType getTypedefType(TypedefNameDecl Decl, @CXXValue QualType Underlying) {
    long ret$ = nativeGetTypedefType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) Decl).address, ((com.alibaba.fastffi.FFIPointerImpl) Underlying).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetTypedefType(long ptr, long rv_base, long Decl0,
      long Underlying1);

  @CXXReference
  public SmallVectorImpl getTypes() {
    long ret$ = nativeGetTypes(address); return (new com.alibaba.fastffi.llvm.SmallVectorImpl_cxx_0xa936305c(ret$));
  }

  @CXXReference
  public static native long nativeGetTypes(long ptr);

  public TypedefDecl getUInt128Decl() {
    long ret$ = nativeGetUInt128Decl(address); return (ret$ == 0L ? null : new com.alibaba.fastffi.clang.TypedefDecl_cxx_0x505ab144(ret$));
  }

  public static native long nativeGetUInt128Decl(long ptr);

  @CXXValue
  public QualType getUIntPtrType() {
    long ret$ = nativeGetUIntPtrType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetUIntPtrType(long ptr, long rv_base);

  @CXXValue
  public QualType getUnsignedWCharType() {
    long ret$ = nativeGetUnsignedWCharType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetUnsignedWCharType(long ptr, long rv_base);

  @CXXValue
  public QualType getVolatileType(@CXXValue QualType T) {
    long ret$ = nativeGetVolatileType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE), ((com.alibaba.fastffi.FFIPointerImpl) T).address); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetVolatileType(long ptr, long rv_base, long T0);

  @CXXValue
  public QualType getWCharType() {
    long ret$ = nativeGetWCharType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetWCharType(long ptr, long rv_base);

  @CXXValue
  public QualType getWIntType() {
    long ret$ = nativeGetWIntType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetWIntType(long ptr, long rv_base);

  @CXXValue
  public QualType getWideCharType() {
    long ret$ = nativeGetWideCharType(address, com.alibaba.fastffi.CXXValueScope.allocate(com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a.SIZE)); return (new com.alibaba.fastffi.clang.QualType_cxx_0x46a6a81a(ret$));
  }

  @CXXValue
  public static native long nativeGetWideCharType(long ptr, long rv_base);

  public boolean hasSameType(@CXXValue QualType T1, @CXXValue QualType T2) {
    return nativeHasSameType0(address, ((com.alibaba.fastffi.FFIPointerImpl) T1).address, ((com.alibaba.fastffi.FFIPointerImpl) T2).address);
  }

  public static native boolean nativeHasSameType0(long ptr, long T10, long T21);

  public boolean hasSameType(Type T1, Type T2) {
    return nativeHasSameType1(address, ((com.alibaba.fastffi.FFIPointerImpl) T1).address, ((com.alibaba.fastffi.FFIPointerImpl) T2).address);
  }

  public static native boolean nativeHasSameType1(long ptr, long T10, long T21);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy