diff options
| author | Steve Naroff <snaroff@apple.com> | 2007-08-16 21:48:38 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2007-08-16 21:48:38 +0000 |
| commit | cdee44c12a3f5a381eeb06e5ac0c65f1dfe273aa (patch) | |
| tree | f8f9ebae1a5cd29d28030270fe9db84b8cb0a05a /llvm/docs/CommandGuide/llvm-dis.pod | |
| parent | 5f208bea912ff362e699d87240dfb0eb1c244501 (diff) | |
| download | bcm5719-llvm-cdee44c12a3f5a381eeb06e5ac0c65f1dfe273aa.tar.gz bcm5719-llvm-cdee44c12a3f5a381eeb06e5ac0c65f1dfe273aa.zip | |
Fixed Sema::CheckEqualityOperands() and Sema::CheckRelationalOperands() to deal more
thoughtfully with incompatible pointers. This includes:
- Emit a diagnostic when two pointers aren't compatible!
- Promote one of the pointers/integers so we maintain the invariant expected by the
code generator (i.e. that the left/right types match).
- Upgrade the pointer/integer comparison diagnostic to include the types.
llvm-svn: 41127
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-dis.pod')
0 files changed, 0 insertions, 0 deletions

