diff options
author | Jordan Rose <jordan_rose@apple.com> | 2014-01-16 18:02:23 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2014-01-16 18:02:23 +0000 |
commit | 2be02a784828c66d0025fe63a8e84751d6531a37 (patch) | |
tree | 8f11b2bf927593ab6e4450f5c1a77588d8c00855 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | ef6fed7c84e7e7a03aa26db4b6d96d91e521419c (diff) | |
download | llvm-2be02a784828c66d0025fe63a8e84751d6531a37.zip llvm-2be02a784828c66d0025fe63a8e84751d6531a37.tar.gz llvm-2be02a784828c66d0025fe63a8e84751d6531a37.tar.bz2 |
[analyzer] Shitfing a constant value by its bit width is undefined.
Citation: C++11 [expr.shift]p1 (and the equivalent text in C11).
This fixes PR18073, but the right thing to do (as noted in the FIXME) is to
have a real checker for too-large shifts.
llvm-svn: 199405
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions