[PATCH] Bug 15109: Implement -Wdouble-promotion for clang
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 28 16:37:56 PDT 2015
Thanks for this patch! :) Just a few small nits:
- Is there a reason that test/SemaCXX/warn-double-promotion.cpp can't be at
- Can we make the warning message a bit more specific? Maybe something like
"implicit conversion increases floating-point precision: %0 to %1"?
- Please get rid of the empty line after `else if (TargetBT->getKind() >
After those are fixed, LGTM -- will you need me to commit this for you?
On Tue, Oct 27, 2015 at 9:45 PM, Carl Norum via cfe-commits <
cfe-commits at lists.llvm.org> wrote:
> Hi folks,
> I had need of this warning, so I cobbled something together. Can someone
> please check it out and let me know if it's reasonable? I'm certainly no
> expert at this stuff. Patch attached for review, thanks!
> -- Carl
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits