diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-24 05:30:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-24 05:30:14 +0000 |
commit | a776fc78a9e4c46ba89c51165003f1b79c15f9dd (patch) | |
tree | 2ec4052387be0aa9510b14a7ffb4bffb3f02c766 /clang | |
parent | 56c5bd8d236c51e1f103644f7fe6b0fe9b32664b (diff) | |
download | bcm5719-llvm-a776fc78a9e4c46ba89c51165003f1b79c15f9dd.tar.gz bcm5719-llvm-a776fc78a9e4c46ba89c51165003f1b79c15f9dd.zip |
"I got annoyed at the compiler warnings from ConstantInt::get(Ty, -1,
true), and casts make me nervous and are verbose anyway, so here's a
ConstantInt::getSigned(Ty, int64_t) method. Just overloading
ConstantInt::get() to take an int64_t too would cause ambiguous
overload errors."
Patch by Jeffrey Yasskin!
llvm-svn: 69958
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions