r179039 - doce parsing: adding few more headerdoc tags.

Jordan Rose jordan_rose at apple.com
Mon Apr 8 12:01:08 PDT 2013


On Apr 8, 2013, at 11:53 , Fariborz Jahanian <fjahanian at apple.com> wrote:

> Author: fjahanian
> Date: Mon Apr  8 13:53:25 2013
> New Revision: 179039
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=179039&view=rev
> Log:
> doce parsing: adding few more headerdoc tags.
> // rdar://12379114
> 
> Modified:
>    cfe/trunk/include/clang/AST/CommentCommands.td
>    cfe/trunk/test/Index/comment-misc-tags.m
> 
> Modified: cfe/trunk/include/clang/AST/CommentCommands.td
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CommentCommands.td?rev=179039&r1=179038&r2=179039&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/AST/CommentCommands.td (original)
> +++ cfe/trunk/include/clang/AST/CommentCommands.td Mon Apr  8 13:53:25 2013
> @@ -152,6 +152,7 @@ def InstanceSize  : RecordLikeDetailComm
> def Ownership     : RecordLikeDetailCommand<"ownership">;
> def Performance   : RecordLikeDetailCommand<"performance">;
> def Security      : RecordLikeDetailCommand<"security">;
> +def Seealso       : BlockCommand<"seealso">;

Typo: SeeAlso.

> def SuperClass    : RecordLikeDetailCommand<"superclass">;
> 
> //===----------------------------------------------------------------------===//
> @@ -177,6 +178,7 @@ defm FBrace   : VerbatimBlockCommand<"f{
> 
> // HeaderDoc commands
> defm Textblock    : VerbatimBlockCommand<"textblock", "/textblock">;
> +defm Link         : VerbatimBlockCommand<"link", "/link">;
> 
> //===----------------------------------------------------------------------===//
> // VerbatimLineCommand
> 
> Modified: cfe/trunk/test/Index/comment-misc-tags.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/comment-misc-tags.m?rev=179039&r1=179038&r2=179039&view=diff
> ==============================================================================
> --- cfe/trunk/test/Index/comment-misc-tags.m (original)
> +++ cfe/trunk/test/Index/comment-misc-tags.m Mon Apr  8 13:53:25 2013
> @@ -15,6 +15,9 @@
>        Many1 discussions about text
>        Many2 discussions about text
>      @/textblock
> +     @link //un_ref/c/func/function_name link text goes here @/link
> +     @see  //un_ref/doc/uid/XX0000011 I/O Kit Fundamentals
> +     @seealso //k_ref/doc/uid/XX30000905-CH204 Programming
>  */
> @interface IOCommandGate
> @end
> @@ -32,3 +35,14 @@
> // CHECK-NEXT:       (CXComment_VerbatimBlockLine Text=[       Many2 discussions about text]))
> // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
> 
> +// CHECK:       (CXComment_VerbatimBlockCommand CommandName=[link]
> +// CHECK-NEXT:     (CXComment_VerbatimBlockLine Text=[ //un_ref/c/func/function_name link text goes here ]))
> +// CHECK-NEXT:     (CXComment_Paragraph IsWhitespace
> +// CHECK-NEXT:     (CXComment_Text Text=[     ] IsWhitespace))
> +// CHECK:       (CXComment_BlockCommand CommandName=[see]
> +// CHECK-NEXT:     (CXComment_Paragraph
> +// CHECK-NEXT:     (CXComment_Text Text=[  //un_ref/doc/uid/XX0000011 I/O Kit Fundamentals] HasTrailingNewline)
> +// CHECK-NEXT:     (CXComment_Text Text=[     ] IsWhitespace)))
> +// CHECK:       (CXComment_BlockCommand CommandName=[seealso]
> +// CHECK-NEXT:     (CXComment_Paragraph
> +// CHECK-NEXT:     (CXComment_Text Text=[ //k_ref/doc/uid/XX30000905-CH204 Programming] HasTrailingNewline)
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130408/fa39a1ed/attachment.html>


More information about the cfe-commits mailing list