[llvm-branch-commits] [cfe-branch] r278441 - Update release notes for new warnings.

Richard Trieu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 11 17:00:22 PDT 2016

Author: rtrieu
Date: Thu Aug 11 19:00:21 2016
New Revision: 278441

URL: http://llvm.org/viewvc/llvm-project?rev=278441&view=rev
Update release notes for new warnings.

Document -Wcomma, -Wfloat-zero-conversion, and -Wfloat-overflow-conversion


Modified: cfe/branches/release_39/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/docs/ReleaseNotes.rst?rev=278441&r1=278440&r2=278441&view=diff
--- cfe/branches/release_39/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_39/docs/ReleaseNotes.rst Thu Aug 11 19:00:21 2016
@@ -62,7 +62,13 @@ Clang's diagnostics are constantly being
 explain them more clearly, and provide more accurate source information
 about them. The improvements since the 3.8 release include:
--  ...
+- -Wcomma is a new warning to show most uses of the builtin comma operator.
+- -Wfloat-conversion has two new sub-warnings to give finer grain control for
+  floating point to integer conversion warnings.
+  - -Wfloat-overflow-convserion detects when a constant floating point value
+    is converted to an integer type and will overflow the target type.
+  - -Wfloat-zero-conversion detects when a non-zero floating point value is
+    converted to a zero integer value.
 New Compiler Flags

More information about the llvm-branch-commits mailing list