From 524bed1467f3c2f634efe9e9eba082651dbe90c0 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 1 Feb 2013 00:17:45 +0000 Subject: [PATCH] clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts to eliminate "CommentXMLValid". llvm-svn: 174124 --- clang/test/Index/headerfile-comment-to-html.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.7.4