[llvm-commits] TypeBuilder helper class

Chris Lattner clattner at apple.com
Thu Apr 9 23:38:43 PDT 2009


On Apr 9, 2009, at 9:40 AM, Jeffrey Yasskin wrote:

>
> I think I see how to define TypeBuilder<typename T, bool
> restrict_to_cross_compilable_types> so that TypeBuilder<size_t, true>
> fails to compile but TypeBuilder<sometype<64>, false> succeeds,
> without duplicating code. Could you confirm that that's along the
> lines of what you want implemented before I waste time implementing
> it? Also, what's the right spelling for "sometype"? I'd vote for
> llvm::types::i<N> or something similar.
>

Sounds great to me!

-Chris



More information about the llvm-commits mailing list