diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-07 18:28:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-07 18:28:00 +0000 |
commit | 393aec6a44e8c2df558a08ce2b49f8b899108c39 (patch) | |
tree | 87048c2c6cda4cec81219f43f3b2ce52dd75b33c /lib/VMCore/Value.cpp | |
parent | df225c0253aa987830fbd3dfcb5d9f8f7f973336 (diff) | |
download | external_llvm-393aec6a44e8c2df558a08ce2b49f8b899108c39.zip external_llvm-393aec6a44e8c2df558a08ce2b49f8b899108c39.tar.gz external_llvm-393aec6a44e8c2df558a08ce2b49f8b899108c39.tar.bz2 |
"BinaryObject.h was implicitly converting between uint{16,32,64}_t to
uint8_t (via 'foo & 255'), i replaced this with an explicit (uint8_t)
cast which is equivalent, faster and more correct (silences
type-related warnings). Also, following coding standards I replaced
post-increment with pre-increment."
Patch by Ryan Flynn!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Value.cpp')
0 files changed, 0 insertions, 0 deletions