Skip to content
Commit 256c21b7 authored by Chris Lattner's avatar Chris Lattner
Browse files

Record the intermediate computation type for compound assignments in the AST.

For example, for:

int test(short S, long L) {
  return S /= L;
}

record that the division is done as a long, even though the result type is
short.

llvm-svn: 39700
parent 81217d6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment