headers = clang-c/Index.h clang-c/ext.h

headerFilter = clang-c/**

strictEnums = CXErrorCode CXCursorKind CXTypeKind CXDiagnosticSeverity CXLoadDiag_Error CXSaveError \
    CXTUResourceUsageKind CXLinkageKind CXVisibilityKind CXLanguageKind CXCallingConv CXChildVisitResult \
    CXTokenKind CXEvalResultKind CXVisitorResult CXResult CXIdxEntityKind

# These functions are present in only one of the branches `kotlin/llvm-16.0.0-apple` and `kotlin/llvm-16.0.0`.
# So if we don't exclude them, the "prebuilt" stubs generated on one platform won't compile on another platform.
excludedFunctions = clang_Error_getCode clang_Error_getDescription clang_Error_dispose \
    clang_getDiagnosticFileContents clang_getDiagnosticFileOriginalSourceRange \
    clang_CXXMethod_isCopyAssignmentOperator clang_CXXMethod_isMoveAssignmentOperator
