improve the APIs for creating struct and function types with no arguments/elements
authorChris Lattner <sabre@nondot.org>
Wed, 1 Jul 2009 04:13:31 +0000 (04:13 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 1 Jul 2009 04:13:31 +0000 (04:13 +0000)
commit0fd38069cb6699ce21eb159f22d3f23c012c9e81
treef66dcf7ae670ad83fafd93662fe76538a2203c35
parent35c28eca627cd9dc2dd3ee3393074080103be456
improve the APIs for creating struct and function types with no arguments/elements
to not have to create a temporary vector (in the API at least).  Patch by Jay Foad!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74584 91177308-0d34-0410-b5e6-96231b3b80d8
examples/ModuleMaker/ModuleMaker.cpp
include/llvm/DerivedTypes.h
include/llvm/Support/TypeBuilder.h
lib/Analysis/DebugInfo.cpp
lib/AsmParser/LLParser.cpp
lib/Debugger/ProgramInfo.cpp
lib/ExecutionEngine/JIT/JIT.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/RaiseAllocations.cpp
lib/Transforms/Utils/LowerAllocations.cpp
utils/TableGen/IntrinsicEmitter.cpp