Deprecate the existing accessors for the "current debug location" of an IRBuilder. The setter could not handle being reset to NULL, and the getter would create bogus metadata if the NULL location was returned. Provide direct metadata-based accessors instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm-c/Core.h | ||
---|---|---|
3531 | Let's add the 2 suffix here for consistency as well. |
llvm/include/llvm-c/Core.h | ||
---|---|---|
3531 | This API didn't change, the diff is just a mess! |
llvm/include/llvm-c/Core.h | ||
---|---|---|
3531 | Oh... Can you add some docs for this API? I had to look up the C++ source to even understand what it's supposed to do. |
Comment Actions
These symbols conflict with identically-named symbols in llvm/bindings/go/llvm/IRBindings.h, going to revert (I don't know what the right name is, and in the C API that's probably important)
Let's add the 2 suffix here for consistency as well.