Diagnostics improvements for 3.9

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 5 18:33:35 PDT 2016

These all look OK for the branch. Hans, the second one fixes a crasher, so
I'd like to take at least that one. The others fix warning false positives
(which are not regressions) and look fairly safe.

On Fri, Aug 5, 2016 at 4:39 PM, Richard Trieu <rtrieu at google.com> wrote:

> Hans, Richard,
> These are some last minute diagnostic improvements for 3.9.
> http://llvm.org/viewvc/llvm-project?rev=277796&view=rev
> r277796
> Don't warn when negative values, like -1, are used to initialize unsigned
> bit fields.
> http://llvm.org/viewvc/llvm-project?rev=277797&view=rev
> r277797
> Fix crash with type alias in Template Type Diffing

(You have a typo Internalal in this.)

> http://llvm.org/viewvc/llvm-project?rev=277866&view=rev
> r277866
> Fix false positive in -Wunsequenced and templates
> http://llvm.org/viewvc/llvm-project?rev=277889&view=rev
> r277889
> Fixes for two false positives in -Wreturn-stack-address dealing with
> parameter variables and reference to pointer types.

(Test has some x3 variables that are unused.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160805/576f3c9b/attachment.html>

More information about the cfe-commits mailing list