HomePhabricator

[Sema] Diagnose floating point conversions based on target semantics

Authored by erik.pilkington on Feb 15 2019, 5:11 PM.

Description

[Sema] Diagnose floating point conversions based on target semantics

...instead of just comparing rank. Also, fix a bad warning about
_Float16, since its declared out of order in BuiltinTypes.def,
meaning comparing rank using BuiltinType::getKind() is incorrect.

Differential revision: https://reviews.llvm.org/D58254

llvm-svn: 354190

Event Timeline

This comment was removed by asl.
This comment was removed by asl.
asl added a subscriber: asl.Feb 16 2019, 10:34 AM
asl removed a subscriber: ham999221.