[LLVMdev] Duplicate wrapper function in LLVM-C.
Gordon Henriksen
gordonhenriksen at mac.com
Sun May 18 22:57:28 PDT 2008
Thanks, applied here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080519/062600.html
— Gordon
On 2008-05-18, at 13:20, Mahadevan R wrote:
> Hi (Gordon).
>
> There appears to be two wrapper functions for
> DerivedType::refineAbstractTypeTo() in llvm-c (Core.h, Core.cpp):
>
> void LLVMRefineAbstractType(LLVMTypeRef AbstractType, LLVMTypeRef
> ConcreteType){
> DerivedType *Ty = unwrap<DerivedType>(AbstractType);
> Ty->refineAbstractTypeTo(unwrap(ConcreteType));
> }
>
> void LLVMRefineType(LLVMTypeRef AbstractTy, LLVMTypeRef ConcreteTy) {
> unwrap<DerivedType>(AbstractTy)-
> >refineAbstractTypeTo(unwrap(ConcreteTy));
> }
>
> The attached patch removes the first one.
More information about the llvm-dev
mailing list