aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-07-17 20:12:32 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-07-17 20:12:32 +0000
commit587deea8755b5adab19350b30c71ec5d2c765bf2 (patch)
tree8cb9cbed040c6461f870c4b508b670c5ce15b63a /clang/lib/CodeGen/CodeGenModule.cpp
parent11698180c336ea4a077a896b79ab2621fb36585f (diff)
downloadllvm-587deea8755b5adab19350b30c71ec5d2c765bf2.zip
llvm-587deea8755b5adab19350b30c71ec5d2c765bf2.tar.gz
llvm-587deea8755b5adab19350b30c71ec5d2c765bf2.tar.bz2
If char/short are shorter than int, do not use U as suffix for
constants. Comparing int against a constant of the given type like UINT8_MAX will otherwise force a promotion to unsigned int, which is typically not expected. llvm-svn: 213301
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions