[LLVMdev] API design (and Boost and tr1)

David Greene dag at cray.com
Thu Jul 5 13:51:01 PDT 2007


On Thursday 05 July 2007 11:54, Chris Lattner wrote:

> Here's another crazy idea.  Instead of overloading the callinst ctor, why
> not just add a static function to create the call (like binaryoperator and
> friends):
>
>    C = CallInst::CreateWithArgRange(X, B, V.begin(), V.end());
>
> That way you can completely avoid the overloading issues.

What's the relationship of this idea to LLVMBuilder?

                                       -Dave



More information about the llvm-dev mailing list