r291422 - Add release notes for `diagnose_if`

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 8 21:58:18 PST 2017


Author: gbiv
Date: Sun Jan  8 23:58:18 2017
New Revision: 291422

URL: http://llvm.org/viewvc/llvm-project?rev=291422&view=rev
Log:
Add release notes for `diagnose_if`

Bots seem happy with `diagnose_if` so far, so I'm optimistically adding
release notes for it.

Modified:
    cfe/trunk/docs/ReleaseNotes.rst

Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=291422&r1=291421&r2=291422&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Sun Jan  8 23:58:18 2017
@@ -47,6 +47,10 @@ sections with improvements to Clang's su
 Major New Features
 ------------------
 
+- The ``diagnose_if`` attribute has been added to clang. This attribute allows
+  clang to emit a warning or error if a function call meets one or more
+  user-specified conditions.
+
 -  ...
 
 Improvements to Clang's diagnostics




More information about the cfe-commits mailing list