[LLVMdev] PATCH: Typo is StructType assert
Reid Spencer
reid at x10sys.com
Sun Mar 28 19:06:55 PST 2004
If you put a VoidTy as a field of a StructType, you get:
/proj/work/llvm/llvm/lib/VMCore/Type.cpp:380:
llvm::StructType::StructType(const std::vector<const llvm::Type*,
std::allocator<const llvm::Type*> >&): Assertion `Types[i] !=
Type::VoidTy && "Void type in method prototype!!"' failed.
I believe "method prototype" should be "structure field" so the attached
patch fixes this assertion's comment.
Reid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040328/e698f574/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040328/e698f574/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040328/e698f574/attachment.sig>
More information about the llvm-dev
mailing list