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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6307be331ef84cb44aca1066c829e91b61aa6371;p=clang clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts to eliminate "CommentXMLValid". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174124 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/headerfile-comment-to-html.m b/test/Index/headerfile-comment-to-html.m index f2e55f07f8..8326a90140 100644 --- a/test/Index/headerfile-comment-to-html.m +++ b/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