diff options
author | Duncan Sands <baldrick@free.fr> | 2009-11-16 15:28:17 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-11-16 15:28:17 +0000 |
commit | 551861e7d9d4b9f2bd7806e3b8b6875580c2b3c9 (patch) | |
tree | ab768b2e17a955ca58146b506c57fd90ab6a0c5b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 25905c833629c3ea90710f0fdb5c3fb35e4eabd0 (diff) | |
download | bcm5719-llvm-551861e7d9d4b9f2bd7806e3b8b6875580c2b3c9.tar.gz bcm5719-llvm-551861e7d9d4b9f2bd7806e3b8b6875580c2b3c9.zip |
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*.
llvm-svn: 88913
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions