r291879 - Add a necessary newline for diagnose_if documentation.
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 13 11:51:52 PST 2017
Merged in r291952.
Thanks,
Hans
On Thu, Jan 12, 2017 at 5:52 PM, Eric Christopher via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> 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)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list