[PATCH][PM] Add pass run listeners to the pass manager.

Chandler Carruth chandlerc at google.com
Mon Apr 28 16:29:25 PDT 2014


On Mon, Apr 28, 2014 at 4:17 PM, Reid Kleckner <rnk at google.com> wrote:

> On Mon, Apr 28, 2014 at 4:08 PM, Chandler Carruth <chandlerc at google.com>wrote:
>>
>> 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 *)>.
>>
>
> We do?
> http://llvm.org/docs/CodingStandards.html#supported-c-11-language-and-library-features
>

Arrrg. But I hear someone is working on it.

Another good reason to not bake this stuff into the C API.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140428/8fc2f973/attachment.html>


More information about the llvm-commits mailing list