[llvm-commits] [PATH] Fix C binding
Chris Lattner
clattner at apple.com
Tue Jul 14 17:45:59 PDT 2009
On Jul 14, 2009, at 11:31 AM, Zoltan Varga wrote:
> Hi,
>
> The attached patch fixes the C backend by syncing the
> LLVMTypeKind enum with its c++ counterpart. Please review and commit
> if its ok.
Hi Zoltan,
Thank you for bringing this issue up. The C API is supposed to remain
stable, so any new enums should be added to the end of the list.
There should be a switch statement inside the implementation of the C
API that translates the C version of the enum to the C++ version (we
shouldn't depend on them to line up).
Owen, can you tackle this?
-Chris
More information about the llvm-commits
mailing list