r291879 - Add a necessary newline for diagnose_if documentation.
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 17:52:04 PST 2017
Author: echristo
Date: Thu Jan 12 19:52:04 2017
New Revision: 291879
URL: http://llvm.org/viewvc/llvm-project?rev=291879&view=rev
Log:
Add a necessary newline for diagnose_if documentation.
Modified:
cfe/trunk/include/clang/Basic/AttrDocs.td
Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=291879&r1=291878&r2=291879&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Thu Jan 12 19:52:04 2017
@@ -386,6 +386,7 @@ warnings or errors at compile-time if ca
certain user-defined criteria. For example:
.. code-block:: c
+
void abs(int a)
__attribute__((diagnose_if(a >= 0, "Redundant abs call", "warning")));
void must_abs(int a)
More information about the cfe-commits
mailing list