From: NAKAMURA Takumi Date: Fri, 1 Feb 2013 00:17:45 +0000 (+0000) Subject: clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=524bed1467f3c2f634efe9e9eba082651dbe90c0;p=platform%2Fupstream%2Fllvm.git clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts to eliminate "CommentXMLValid". llvm-svn: 174124 --- diff --git a/clang/test/Index/headerfile-comment-to-html.m b/clang/test/Index/headerfile-comment-to-html.m index f2e55f0..8326a90 100644 --- a/clang/test/Index/headerfile-comment-to-html.m +++ b/clang/test/Index/headerfile-comment-to-html.m @@ -17,7 +17,7 @@ */ @interface Device @end -// CHECK: headerfile-comment-to-html.m:[[@LINE-2]]:12: ObjCInterfaceDecl=Device:{{.*}} FullCommentAsXML=[Devicec:objc(cs)Device Device.h <Foundation/Device.h>@interface Device\n@end A Device represents a remote or local computer or device with which the Developer Tools can interact. Each Device supports blah blah blah from doing blah blah blah.] CommentXMLValid +// CHECK: headerfile-comment-to-html.m:[[@LINE-2]]:12: ObjCInterfaceDecl=Device:{{.*}} FullCommentAsXML=[Devicec:objc(cs)Device Device.h <Foundation/Device.h>@interface Device\n@end A Device represents a remote or local computer or device with which the Developer Tools can interact. Each Device supports blah blah blah from doing blah blah blah.] // CHECK-NEXT: CommentAST=[ // CHECK-NEXT: (CXComment_FullComment // CHECK-NEXT: (CXComment_Paragraph IsWhitespace @@ -39,7 +39,7 @@ @interface Sensor @end -// CHECK: headerfile-comment-to-html.m:[[@LINE-2]]:12: ObjCInterfaceDecl=Sensor:{{.*}} FullCommentAsXML=[Sensorc:objc(cs)Sensor Sensor.h "Sensor.h"@interface Sensor\n@end This is Sensor on the Device. Its purpose is not to Sense Device's heat.] CommentXMLValid +// CHECK: headerfile-comment-to-html.m:[[@LINE-2]]:12: ObjCInterfaceDecl=Sensor:{{.*}} FullCommentAsXML=[Sensorc:objc(cs)Sensor Sensor.h "Sensor.h"@interface Sensor\n@end This is Sensor on the Device. Its purpose is not to Sense Device's heat.] // CHECK-NEXT: CommentAST=[ // CHECK-NEXT: (CXComment_FullComment // CHECK-NEXT: (CXComment_Paragraph IsWhitespace @@ -62,7 +62,7 @@ */ @interface VTDevice : Device @end -// CHECK: headerfile-comment-to-html.m:[[@LINE-2]]:12: ObjCInterfaceDecl=VTDevice:{{.*}} FullCommentAsXML=[VTDevicec:objc(cs)VTDevice VTDevice.h <VTFoundation/VTDevice.h>@interface VTDevice : Device\n@end Test that headerfile can come after brief. More property decription goes here.] CommentXMLValid +// CHECK: headerfile-comment-to-html.m:[[@LINE-2]]:12: ObjCInterfaceDecl=VTDevice:{{.*}} FullCommentAsXML=[VTDevicec:objc(cs)VTDevice VTDevice.h <VTFoundation/VTDevice.h>@interface VTDevice : Device\n@end Test that headerfile can come after brief. More property decription goes here.] // CHECK-NEXT: CommentAST=[ // CHECK-NEXT: (CXComment_FullComment // CHECK-NEXT: (CXComment_Paragraph IsWhitespace @@ -83,7 +83,7 @@ \headerfile */ extern void uses_stdio_h(); -// CHECK: headerfile-comment-to-html.m:[[@LINE-1]]:13: FunctionDecl=uses_stdio_h:{{.*}} FullCommentAsXML=[uses_stdio_hc:@F@uses_stdio_h <stdio.h>extern void uses_stdio_h()] CommentXMLValid +// CHECK: headerfile-comment-to-html.m:[[@LINE-1]]:13: FunctionDecl=uses_stdio_h:{{.*}} FullCommentAsXML=[uses_stdio_hc:@F@uses_stdio_h <stdio.h>extern void uses_stdio_h()] // CHECK-NEXT: CommentAST=[ // CHECK-NEXT: (CXComment_FullComment // CHECK-NEXT: (CXComment_Paragraph IsWhitespace @@ -99,7 +99,7 @@ extern void uses_stdio_h(); \headerfile */ extern void uses_argorithm(); -// CHECK: headerfile-comment-to-html.m:[[@LINE-1]]:13: FunctionDecl=uses_argorithm:{{.*}} FullCommentAsXML=[uses_argorithmc:@F@uses_argorithm <algorithm>extern void uses_argorithm()] CommentXMLValid +// CHECK: headerfile-comment-to-html.m:[[@LINE-1]]:13: FunctionDecl=uses_argorithm:{{.*}} FullCommentAsXML=[uses_argorithmc:@F@uses_argorithm <algorithm>extern void uses_argorithm()] // CHECK-NEXT: CommentAST=[ // CHECK-NEXT: (CXComment_FullComment // CHECK-NEXT: (CXComment_Paragraph IsWhitespace