[cfe-commits] [PATCH] CommentBriefParser: use \returns as a last resort

Dmitri Gribenko gribozavr at gmail.com
Thu Jul 19 14:56:52 PDT 2012


Hello,

The attached patch makes CommentBriefParser use \returns if it can't
find the \brief or just a plain paragraph.

I'm not sure whether to prepend "Returns" to extracted text or not.
In most cases this would be appropriate, but in some (rare) cases
documentation is written in languages other than English.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comment-brief-parser-use-returns-paragraph-v1.patch
Type: application/octet-stream
Size: 3896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120719/155053b6/attachment.obj>


More information about the cfe-commits mailing list