PATCH: Typo is StructType assert

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.

patch.txt (1.01 KB)