While running the generator script for LLVMExtra, I run into an unknown CXCursorKind while parsing essentially any header file. The initial error shows up in detect_headers, but skipping the detect_headers function results in running into the error later.
While running the generator script for LLVMExtra, I run into an unknown CXCursorKind while parsing essentially any header file. The initial error shows up in detect_headers, but skipping the detect_headers function results in running into the error later.
Reproducer
1. `]dev LLVM` 2. `cd ~/.julia/dev/LLVM` 3. julia --project=res res/wrap_llvmextra.jlError:
``` ERROR: LoadError: KeyError: key Clang.LibClang.UnknownMember not found Stacktrace: [1] getindex(h::Dict{Any, Any}, key::Clang.LibClang.CXCursorKind) @ Base ./dict.jl:496 [inlined] [2] Clang.CLCursor(c::Clang.LibClang.CXCursor) @ Clang ~/.julia/dev/Clang/src/cltypes.jl:35 [3] convert(::Type{Clang.CLCursor}, x::Clang.LibClang.CXCursor) @ Clang ~/.julia/dev/Clang/src/cltypes.jl:37 [inlined] [4] getTranslationUnitCursor(tu::Clang.TranslationUnit) @ Clang ~/.julia/dev/Clang/src/trans_unit.jl:72 [inlined] [5] detect_headers(include_dir::String, args::Vector{String}, options::Dict{Any, Any}, filter_op::Clang.Generators.var"#161#165") @ Clang.Generators ~/.julia/dev/Clang/src/generator/context.jl:274 [6] detect_headers(include_dir::Any, args::Any, options::Dict, filter_op::Any) (repeats 2 times) @ Clang.Generators ~/.julia/dev/Clang/src/generator/context.jl:252 [inlined] [7] main() @ Main ~/.julia/dev/LLVM/res/wrap_llvmextra.jl:26 [8] top-level scope @ ~/.julia/dev/LLVM/res/wrap_llvmextra.jl:50 in expression starting at /home/premc/.julia/dev/LLVM/res/wrap_llvmextra.jl:50 ```