[LLVMdev] TypeBuilder for const void*
Jochen Wilhelmy
j.wilhelmy at arcor.de
Mon Feb 8 09:15:40 PST 2010
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
More information about the llvm-dev
mailing list