<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 4:17 PM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, Apr 28, 2014 at 4:08 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div>Second, why are you defining a new callback type? We have std::function now, so I would expect this to be std::function<void(Pass *)>.</div></div></blockquote><div><br></div></div><div>We do? <a href="http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features" target="_blank">http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features</a></div>
</blockquote></div><br>Arrrg. But I hear someone is working on it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Another good reason to not bake this stuff into the C API.</div></div>