r291879 - Add a necessary newline for diagnose_if documentation.
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 13 11:58:15 PST 2017
Great, thanks!
On Fri, Jan 13, 2017, 11:52 AM Hans Wennborg <hans at chromium.org> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170113/c705eafe/attachment.html>
More information about the cfe-commits
mailing list