Rearrange argument order of ::get methods so that LLVMContext comes first,
authorChris Lattner <sabre@nondot.org>
Tue, 24 Jan 2012 14:04:40 +0000 (14:04 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Jan 2012 14:04:40 +0000 (14:04 +0000)
commit32100602432657b188db603ca3ab50b487938027
tree80645fe2c58e5097db2ce07176ecf1c8f49e6703
parent28d7e71a3021d55dce21005112f444facbda0398
Rearrange argument order of ::get methods so that LLVMContext comes first,
add a ConstantDataArray::getString method that corresponds to the (to be
removed) StringRef version of ConstantArray::get, but is dramatically more
efficient.

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