[LLVMdev] Discussion of eliminating the void type

Lyu Mitnick mitnick.lyu at gmail.com
Tue May 8 09:10:57 PDT 2012


Hello Duncan,

There is a discussion with Chris Lattner:
http://old.nabble.com/Eliminating-the-'void'-type-td33726468.html
In the discussion, Chris Lattner suggest Type::getVoidTy() should
still exist and
return {} for API continuity. If VoidTy and isVoidTy() go away, how do deal with
the isVoidTy() function call in LLVM source tree? Another issue is: What should
ReturnInst constructor looks like with VoidTy or not?

Thanks

Mitnick



More information about the llvm-dev mailing list