diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2011-01-11 12:23:00 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2011-01-11 12:23:00 +0000 |
| commit | bf711d90ed8480cbe56d048274d92866f2232c92 (patch) | |
| tree | 56b8ef070c8484058cbe36091177293fe5f58693 /llvm/lib | |
| parent | 12df1dc8f2252c7ecaa599478b9d62953228738a (diff) | |
| download | bcm5719-llvm-bf711d90ed8480cbe56d048274d92866f2232c92.tar.gz bcm5719-llvm-bf711d90ed8480cbe56d048274d92866f2232c92.zip | |
In Microsoft mode, force 64 bit hex integer constants to signed type if the LL or i64 suffix is used. This MSVC behavior.
For example:
void f(long long){ printf("long long"); }
void f(unsigned long long) { printf("unsigned long long"); }
int main() {
f(0xffffffffffffffffLL);
}
Will print "long long" using MSVC.
This patch also fixes 16 compile errors related to overloading issues when parsing the MSVC 2008 C++ standard lib.
llvm-svn: 123231
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

