diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2014-06-20 12:20:56 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2014-06-20 12:20:56 +0000 |
commit | c2a363aa3359a79ec657aab7bc82043988be6ea7 (patch) | |
tree | eab132ccb9016b3cd7f520a9dccae83bae554393 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 236070f20d56ec89f1b8f504b5a267b2d558be8d (diff) | |
download | llvm-c2a363aa3359a79ec657aab7bc82043988be6ea7.zip llvm-c2a363aa3359a79ec657aab7bc82043988be6ea7.tar.gz llvm-c2a363aa3359a79ec657aab7bc82043988be6ea7.tar.bz2 |
Reverting size_type for the containers from size_type to unsigned.
Various places in LLVM assume that container size and count are unsigned
and do not use the container size_type. Therefore they break compilation
(or possibly executation) for LP64 systems where size_t is 64 bit while
unsigned is still 32 bit.
If we'll ever that many items in the container size_type could be made
size_t for a specific containers after reviweing its other uses.
llvm-svn: 211353
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions