<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 2:41 PM, Dibyendu Majumdar <span dir="ltr"><<a href="mailto:mobile@majumdar.org.uk" target="_blank">mobile@majumdar.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I updated my git clone and found that my code doesn't compile any more<br>
as the methods CreateCall2(), CreateCall3() etc. have been removed<br>
from IRBuilder.<br>
<br>
What is the rationale for this breaking change?<br></blockquote><div><br>API simplification - rather than having a bunch of overloads, there's now just one "CreateCall" function that takes an ArrayRef (actually it was there before) and can be passed an init list {} of arguments.<br><br>The motivation was that I needed to add some overloads (one taking a Function, another taking a Type and Value) for my work on opacifying pointer types and didn't want to deal with adding them to each of the CreateCallN overloads.<br><br>FWIW: LLVM's C++ API has no stability guarantees, there are breaking changes in every commit.<br><br>- David<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards<br>
Dibyendu<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div></div>