]> granicus.if.org Git - clang/commitdiff
Add release notes for `diagnose_if`
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 9 Jan 2017 05:58:18 +0000 (05:58 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 9 Jan 2017 05:58:18 +0000 (05:58 +0000)
Bots seem happy with `diagnose_if` so far, so I'm optimistically adding
release notes for it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291422 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index 11ee88f4ae202fd9378def467a7b78b7939e9005..b15d9a5a147cb66d562c7cc77603460b245385bb 100644 (file)
@@ -47,6 +47,10 @@ sections with improvements to Clang's support for those languages.
 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