aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-03-28 01:22:36 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-03-28 01:22:36 +0000
commit8b7b1b1aee8685c34130f7e4a8457a52558af034 (patch)
tree997b1bd6718354cc991f5ff9ef94c6a397e51c69 /llvm/lib/Support/CommandLine.cpp
parent0cb4cc106c263e9d5ae3253a4c08a552f6766b80 (diff)
downloadllvm-8b7b1b1aee8685c34130f7e4a8457a52558af034.zip
llvm-8b7b1b1aee8685c34130f7e4a8457a52558af034.tar.gz
llvm-8b7b1b1aee8685c34130f7e4a8457a52558af034.tar.bz2
Change compound assignment operators to keep track of both the promoted
LHS type and the computation result type; this encodes information into the AST which is otherwise non-obvious. Fix Sema to always come up with the right answer for both of these types. Fix IRGen and the analyzer to account for these changes. This fixes PR2601. The approach is inspired by PR2601 comment 2. Note that this changes real *= complex in CodeGen from a silent miscompilation to an explicit error. I'm not really sure that the analyzer changes are correct, or how to test them... someone more familiar with the analyzer should check those changes. llvm-svn: 67889
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions