[LLVMdev] TypeBuilder for const void*

Jeffrey Yasskin jyasskin at google.com
Tue Feb 9 11:08:31 PST 2010


Sure. Done in http://llvm.org/viewvc/llvm-project?view=rev&revision=95677.
Thanks!

On Mon, Feb 8, 2010 at 9:15 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de> wrote:
> Hi!
>
> In Line 230 of llvm\Support\TypeBuilder.h is support for void*:
>
> /// void* is disallowed in LLVM types, but it occurs often enough in C
> code that
> /// we special case it.
> template<> class TypeBuilder<void*, false>
>   : public TypeBuilder<types::i<8>*, false> {};
>
>
> If would be cool if the same thing can be added for const void*:
>
> template<> class TypeBuilder<const void*, false>
>   : public TypeBuilder<types::i<8>*, false> {};
>
>
> - Jochen
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list