]> granicus.if.org Git - clang/commit
Improve test coverage of -Wdouble-promotion
authorRobert Lougher <rob.lougher@gmail.com>
Fri, 29 Apr 2016 17:44:29 +0000 (17:44 +0000)
committerRobert Lougher <rob.lougher@gmail.com>
Fri, 29 Apr 2016 17:44:29 +0000 (17:44 +0000)
commitd16ddbb723802210a8d4d0eccddf1cdd0c4507b5
tree633b58f99ac11b1c9b0e941c04098c3d15344749
parenta5cff8c36dff54a6091470e418bd8097a7bf2d49
Improve test coverage of -Wdouble-promotion

This patch adds coverage for additional cases where implicit conversion can
occur (assignment and return).  It also adds tests for some cases where a
warning should occur but none is produced.  These are marked as FIXME.

Differential Revision: http://reviews.llvm.org/D16298

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268075 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/warn-double-promotion.c