File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -330,12 +330,12 @@ const LLVMFatalErrorHandler = Ptr{Cvoid}
330330 LLVMModuleFlagBehaviorAppendUnique = 5 ,
331331)
332332
333- # These are note defined in llvm-c
334- # begin enum LLVMAttributeIndex
335- const LLVMAttributeIndex = UInt32
336- const LLVMAttributeReturnIndex = (UInt32)( 0 )
337- const LLVMAttributeFunctionIndex = reinterpret (UInt32, Int32 ( - 1 ) )
338- # end enum LLVMAttributeIndex
333+ # the following isn't defined as a regular enum in llvm-c, so Clang.jl fails to pick it up
334+ @cenum ( LLVMAttributeIndex:: Cuint ,
335+ LLVMAttributeReturnIndex = 0 ,
336+ LLVMAttributeFunctionIndex = reinterpret (UInt32, Int32 ( - 1 ) )
337+ )
338+
339339const LLVMDiagnosticHandler = Ptr{Cvoid}
340340const LLVMYieldCallback = Ptr{Cvoid}
341341
You can’t perform that action at this time.
0 commit comments