Open folkertdev opened 1 year ago
I haven't had the time to do this, but any PRs for this is welcome !
LLVM 15 still fully supports typed pointers (ref), and using the deprecated interface is only a warning, so adding
add_compile_options(-Wno-deprecated-declarations)
to the CMakeLists.txt worked perfectly fine for me
the code mostly works with llvm 15, except one occurence of
getPointerElementType
llvm 15 makes opaque pointers the default, and those don't have
getPointerElementType
any more. With this piece of code commented the build succeeds, but I'm not sure what consequences that has for the tool actually functioning.