Make it possible to get an empty struct using
authorDuncan Sands <baldrick@free.fr>
Fri, 21 Mar 2008 15:53:17 +0000 (15:53 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 21 Mar 2008 15:53:17 +0000 (15:53 +0000)
commit495304e35125ee951bc7667554bf8c9e3009e311
tree92ab55443a974812de4c74371c71115f47ec78ae
parent276dcbdc8db6614cfd5004dc7dc35e437ddf9c58
Make it possible to get an empty struct using
the new StructType::get method.  The second NULL
is to pacify the gcc warning mechanism.  This
patch compiles but is otherwise untested.

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