Make sure that if anyone passes a name by accident for the isSigned
authorDuncan Sands <baldrick@free.fr>
Mon, 16 Nov 2009 15:28:17 +0000 (15:28 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 16 Nov 2009 15:28:17 +0000 (15:28 +0000)
commit4007324b58db24b0d358445a0a866a9047dac75e
treebaa2b16b6e23fa790758b3b2141371cfa70316a8
parentddff941357bd836243ed7004ab88db09490176d8
Make sure that if anyone passes a name by accident for the isSigned
parameter of CreateIntCast then they get an error from the compiler
(or from the linker with a non-gcc compiler).  Another possibility
is to flip the order of the DestTy and isSigned parameters, since you
should then get a compiler warning if you try to use a char* for a
Type*.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88913 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compiler.h
include/llvm/Support/IRBuilder.h