Add wrappers to allow use of opaque pointers from the C API
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
This is lacking a test. The LLVM C API is typically tested using the echo test (a program that read LLVM IR with the LLVM C API, and the re-emit it, and it can be checked that both are equal).
llvm/include/llvm-c/Core.h | ||
---|---|---|
1541 | Considering that using things without context is deprecated, maybe we can skip this one. |
Comment Actions
Note that I'm not really having a good environment to work on LLVM. I can submit changes I've tested to work with my frontend, but I don't know much about the unit tests in LLVM. If you don't want to accept this change because of the missing the tests, then perhaps we could have someone look at adding the tests?
Considering that using things without context is deprecated, maybe we can skip this one.