astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_Sema_cxx_0x230fb2d7.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "clang/Sema/Sema.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
return (jint)sizeof(clang::Sema);
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateAttrs(JNIEnv*, jclass, jlong ptr, jlong arg0 /* TemplateArgs0 */, jlong arg1 /* Pattern1 */, jlong arg2 /* Inst2 */, jlong arg3 /* LateAttrs3 */, jlong arg4 /* OuterMostScope4 */) {
reinterpret_cast(ptr)->InstantiateAttrs(*reinterpret_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), reinterpret_cast(arg3), reinterpret_cast(arg4));
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateAttrsForDecl(JNIEnv*, jclass, jlong ptr, jlong arg0 /* TemplateArgs0 */, jlong arg1 /* Pattern1 */, jlong arg2 /* Inst2 */, jlong arg3 /* LateAttrs3 */, jlong arg4 /* OuterMostScope4 */) {
reinterpret_cast(ptr)->InstantiateAttrsForDecl(*reinterpret_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), reinterpret_cast(arg3), reinterpret_cast(arg4));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateClass(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* Instantiation1 */, jlong arg2 /* Pattern2 */, jlong arg3 /* TemplateArgs3 */, jint arg4 /* TSK4 */, jboolean arg5 /* Complain5 */) {
return (reinterpret_cast(ptr)->InstantiateClass(*reinterpret_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), *reinterpret_cast(arg3), static_cast(arg4), (arg5 == JNI_TRUE ? true : false))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateClassMembers(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* Instantiation1 */, jlong arg2 /* TemplateArgs2 */, jint arg3 /* TSK3 */) {
reinterpret_cast(ptr)->InstantiateClassMembers(*reinterpret_cast(arg0), reinterpret_cast(arg1), *reinterpret_cast(arg2), static_cast(arg3));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateClassTemplateSpecialization(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* ClassTemplateSpec1 */, jint arg2 /* TSK2 */, jboolean arg3 /* Complain3 */) {
return (reinterpret_cast(ptr)->InstantiateClassTemplateSpecialization(*reinterpret_cast(arg0), reinterpret_cast(arg1), static_cast(arg2), (arg3 == JNI_TRUE ? true : false))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateClassTemplateSpecializationMembers(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* ClassTemplateSpec1 */, jint arg2 /* TSK2 */) {
reinterpret_cast(ptr)->InstantiateClassTemplateSpecializationMembers(*reinterpret_cast(arg0), reinterpret_cast(arg1), static_cast(arg2));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateDefaultArgument(JNIEnv*, jclass, jlong ptr, jlong arg0 /* CallLoc0 */, jlong arg1 /* FD1 */, jlong arg2 /* Param2 */) {
return (reinterpret_cast(ptr)->InstantiateDefaultArgument(*reinterpret_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateEnum(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* Instantiation1 */, jlong arg2 /* Pattern2 */, jlong arg3 /* TemplateArgs3 */, jint arg4 /* TSK4 */) {
return (reinterpret_cast(ptr)->InstantiateEnum(*reinterpret_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), *reinterpret_cast(arg3), static_cast(arg4))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateExceptionSpec(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* Function1 */) {
reinterpret_cast(ptr)->InstantiateExceptionSpec(*reinterpret_cast(arg0), reinterpret_cast(arg1));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1InstantiateInClassInitializer(JNIEnv*, jclass, jlong ptr, jlong arg0 /* PointOfInstantiation0 */, jlong arg1 /* Instantiation1 */, jlong arg2 /* Pattern2 */, jlong arg3 /* TemplateArgs3 */) {
return (reinterpret_cast(ptr)->InstantiateInClassInitializer(*reinterpret_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), *reinterpret_cast(arg3))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1PerformPendingInstantiations(JNIEnv*, jclass, jlong ptr, jboolean arg0 /* LocalOnly0 */) {
reinterpret_cast(ptr)->PerformPendingInstantiations((arg0 == JNI_TRUE ? true : false));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1ReplaceAutoType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* TypeWithAuto0 */, jlong arg1 /* Replacement1 */) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->ReplaceAutoType(*reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1RequireCompleteType0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Loc0 */, jlong arg1 /* T1 */, jlong arg2 /* Diagnoser2 */) {
return (reinterpret_cast(ptr)->RequireCompleteType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), *reinterpret_cast(arg2))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1RequireCompleteType1(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Loc0 */, jlong arg1 /* T1 */, jint arg2 /* Kind2 */, jlong arg3 /* Diagnoser3 */) {
return (reinterpret_cast(ptr)->RequireCompleteType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), static_cast(arg2), *reinterpret_cast(arg3))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1RequireCompleteType2(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Loc0 */, jlong arg1 /* T1 */, jint arg2 /* Kind2 */, jint arg3 /* DiagID3 */) {
return (reinterpret_cast(ptr)->RequireCompleteType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), static_cast(arg2), arg3)) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1RequireCompleteType3(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Loc0 */, jlong arg1 /* T1 */, jint arg2 /* DiagID2 */) {
return (reinterpret_cast(ptr)->RequireCompleteType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), arg2)) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1SubstAutoType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* TypeWithAuto0 */, jlong arg1 /* Replacement1 */) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->SubstAutoType(*reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1SubstBaseSpecifiers(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Instantiation0 */, jlong arg1 /* Pattern1 */, jlong arg2 /* TemplateArgs2 */) {
return (reinterpret_cast(ptr)->SubstBaseSpecifiers(reinterpret_cast(arg0), reinterpret_cast(arg1), *reinterpret_cast(arg2))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1SubstDecl(JNIEnv*, jclass, jlong ptr, jlong arg0 /* D0 */, jlong arg1 /* Owner1 */, jlong arg2 /* TemplateArgs2 */) {
return reinterpret_cast(reinterpret_cast(ptr)->SubstDecl(reinterpret_cast(arg0), reinterpret_cast(arg1), *reinterpret_cast(arg2)));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1SubstSpaceshipAsEqualEqual(JNIEnv*, jclass, jlong ptr, jlong arg0 /* RD0 */, jlong arg1 /* Spaceship1 */) {
return reinterpret_cast(reinterpret_cast(ptr)->SubstSpaceshipAsEqualEqual(reinterpret_cast(arg0), reinterpret_cast(arg1)));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_native_1SubstType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */, jlong arg1 /* TemplateArgs1 */, jlong arg2 /* Loc2 */, jlong arg3 /* Entity3 */) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->SubstType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), *reinterpret_cast(arg2), *reinterpret_cast(arg3))));
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_nativeAddImplicitTypedef(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Name0 */, jlong arg1 /* T1 */) {
reinterpret_cast(ptr)->addImplicitTypedef(*reinterpret_cast(arg0), *reinterpret_cast(arg1));
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_nativeDelete(JNIEnv*, jclass, jlong ptr) {
delete reinterpret_cast(ptr);
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_nativeGetASTContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(&(reinterpret_cast(ptr)->getASTContext()));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_nativeInTemplateInstantiation(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->inTemplateInstantiation()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_nativeIsCompleteType(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Loc0 */, jlong arg1 /* T1 */, jint arg2 /* Kind2 */) {
return (reinterpret_cast(ptr)->isCompleteType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), static_cast(arg2))) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_Sema_1cxx_10x230fb2d7_nativeIsConstantEvaluated(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isConstantEvaluated()) ? JNI_TRUE : JNI_FALSE;
}
#ifdef __cplusplus
}
#endif