[llvm-commits] [Fwd: PATCH: Typo is StructType assert]

Reid Spencer reid at x10sys.com
Sun Mar 28 19:09:01 PST 2004


The message below hasn't posted to LLVMdev after several hours so I
thought I'd try it here.

Reid.

-----Forwarded Message-----

> From: Reid Spencer <reid at x10sys.com>
> To: LLVMdev List <llvmdev at cs.uiuc.edu>
> Subject: PATCH: Typo is StructType assert
> Date: Sun, 28 Mar 2004 09:37:46 -0800
> 
> 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.



_______________________
Reid Spencer
President & CTO
eXtensible Systems, Inc.
rspencer at x10sys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20040328/ae316545/attachment.html>
-------------- 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-commits/attachments/20040328/ae316545/attachment.sig>


More information about the llvm-commits mailing list