summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-08-27 15:30:22 +0000
committerSteve Naroff <snaroff@apple.com>2007-08-27 15:30:22 +0000
commit7af82d462ac2d1960a6e24fb6e6f4297c9e06820 (patch)
tree93a2521d00e673c650ddb7954980e116e072be30 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent032d89828e148b846e90e5ba498779adf26d8958 (diff)
downloadbcm5719-llvm-7af82d462ac2d1960a6e24fb6e6f4297c9e06820.tar.gz
bcm5719-llvm-7af82d462ac2d1960a6e24fb6e6f4297c9e06820.zip
Replaced ASTContext::maxFloatingType() with ASTContext::compareFloatingType().
Changed Sema::UsualArithmeticConversions to use the new API. This fixes the following case... _Complex double X; double y; void foo() { X = X + y; } [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang complex.c -parse-ast-dump Read top-level variable decl: 'X' Read top-level variable decl: 'y' void foo() (CompoundStmt 0x2605cc0 (BinaryOperator 0x2605ca0 '_Complex double' '=' (DeclRefExpr 0x2605c10 '_Complex double' Decl='X' 0x2605ab0) (BinaryOperator 0x2605c80 '_Complex double' '+' (DeclRefExpr 0x2605c30 '_Complex double' Decl='X' 0x2605ab0) (ImplicitCastExpr 0x2605c70 '_Complex double' (DeclRefExpr 0x2605c50 'double' Decl='y' 0x2605ae0))))) llvm-svn: 41483
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud