direct conversion from llvm-c to llvm c++ interface