commit | 8786da77984e81d48e0e1b2bd339809b1efc19f3 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Tue Dec 14 17:51:41 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Tue Dec 14 17:51:41 2010 +0000 |
tree | 82374c5bd714ba2242bf13c7052d8f8d4286e363 | |
parent | ed37836bbbf023c4b6015128b131e1238398c7df [diff] |
Rewrite ComplexExprEvaluator::VisitCastExpr to use cast kinds, and fix the basic casting logic to insert intermediate casts and preserve the exact complex-cast design. Fixes a crash in the test suite. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121776 91177308-0d34-0410-b5e6-96231b3b80d8