[llvm-branch-commits] [cfe-branch] r196193 - Add info about Clang diagnostic improvements.

Richard Trieu rtrieu at google.com
Mon Dec 2 17:35:18 PST 2013


Author: rtrieu
Date: Mon Dec  2 19:35:18 2013
New Revision: 196193

URL: http://llvm.org/viewvc/llvm-project?rev=196193&view=rev
Log:
Add info about Clang diagnostic improvements.

Modified:
    cfe/branches/release_34/docs/ReleaseNotes.rst

Modified: cfe/branches/release_34/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_34/docs/ReleaseNotes.rst?rev=196193&r1=196192&r2=196193&view=diff
==============================================================================
--- cfe/branches/release_34/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_34/docs/ReleaseNotes.rst Mon Dec  2 19:35:18 2013
@@ -62,7 +62,19 @@ Clang's diagnostics are constantly being
 explain them more clearly, and provide more accurate source information
 about them. The improvements since the 3.3 release include:
 
--  ...
+- -Wheader-guard warns on mismatches between the #ifndef and #define lines
+  in a header guard.
+- -Wlogical-not-parentheses warns when a logical not ('!') only applies to the
+  left-hand side of a comparison.  This warning is part of -Wparentheses.
+- Boolean increment, a deprecated feature, has own warning flag
+  -Wdeprecated-increment-bool, and is still part of -Wdeprecated.
+- Clang errors on builtin enum increments and decrements.
+- -Wloop-analysis now warns on for-loops which have the same increment or 
+  decrement in the loop header as the last statement in the loop.
+- -Wuninitialized now performs checking across field initializers to detect
+  when one field in used uninitialized in another field initialization.
+- Clang can detect initializer list use inside a macro and suggest parentheses
+  if possible to fix.
 
 New Compiler Flags
 ------------------





More information about the llvm-branch-commits mailing list