[PATCH] Some minor update in PassManager.h

Dinesh Dwivedi dinesh.d at samsung.com
Tue Mar 31 07:47:16 PDT 2015


I have updated patch as per comments and re-based it with trunk. But I am facing 
problem while using perfect forwarding as you have suggested. Type A1 and A2 is 
deduced from passed function type. In our case, A2 is always pointer, just using 
&&' in template parameter is not working.

Anyways, I have tried to use proper reference types so that wrapper will not cause
any temp object creation.

I will further read/ experiment and will try to make this code more generic.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D3543

Files:
  include/llvm/IR/PassManagerInternal.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3543.22957.patch
Type: text/x-patch
Size: 9283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150331/1a1b3f4d/attachment.bin>


More information about the llvm-commits mailing list