Audit the type constructors. Previously it was possible to create [0 x void]
authorNick Lewycky <nicholas@mxc.ca>
Mon, 25 May 2009 21:28:11 +0000 (21:28 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 25 May 2009 21:28:11 +0000 (21:28 +0000)
commitd67a1666ec70001ee9ce4c80ea5b0ab8e4f7a77b
tree076e15d8ce99e83dc4607b19e6cb50d56b6cdc52
parentd9b77159d65329e47a1dcf1bd6fb817e07bf99dc
Audit the type constructors. Previously it was possible to create [0 x void]
or use labels as members of structures for example. Also included a couple of
whitespace fixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72402 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Type.cpp