commit | ca5eede5fa2c0c359aae63c476da4a823e2fb4c7 | [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 | 6590d21767ebc65e22f4dfcf291bf30ca214eb56 [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