commit | 2c8bff7fde4c887a1ace8def605e9b90906bbc81 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Dec 12 05:47:28 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Dec 12 05:47:28 2007 +0000 |
tree | a05cc5b838a77fc5e9b0e913ed215d9bfbf42e8a | |
parent | 210c0ccdf05c8f1cc3725e3be0143fdf8aa76f3c [diff] |
implement correct semantic analysis for shifts. For: int test(int x, long long y) { return x << y; } we now realize the type of the shift is int, not long long. This fixes a fixme from june. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44912 91177308-0d34-0410-b5e6-96231b3b80d8