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

Chris Lattner sabre at nondot.org
Sun Mar 28 19:12:01 PST 2004


On Sun, 28 Mar 2004, Reid Spencer wrote:

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

Thanks, applied!  In the future, I think that sending patches to the
llvm-commits list directly would be better than sending them to llvmdev,
unless there is some discussion needed or something.

At least it looks like the mail server is waking up :)

-Chris

> -----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
>

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-commits mailing list