Author: d0k
Date: Tue Jan 12 05:52:20 2010
New Revision: 93238
URL: http://llvm.org/viewvc/llvm-project?rev=93238&view=rev
Log:
Fix tests for r93231.
Modified:
cfe/trunk/test/Index/complete-at-directives.m
cfe/trunk/test/Index/complete-at-exprstmt.m
Modified: cfe/trunk/test/Index/complete-at-directives.m
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/complete-at-directives.m?rev=93238&r1=93237&r2=93238&view=diff
==============================================================================
--- cfe/trunk/test/Index/complete-at-directives.m (original)
+++ cfe/trunk/test/Index/complete-at-directives.m Tue Jan 12 05:52:20 2010
@@ -6,7 +6,7 @@
@end
// RUN: c-index-test -code-completion-at=%s:2:2 %s | FileCheck
-check-prefix=CHECK-CC1 %s
-// CHECK-CC1: {TypedText class}{HorizontalSpace }{Placeholder
identifier}{Text ;}
+// CHECK-CC1: {TypedText class}{HorizontalSpace }{Placeholder
identifier}{SemiColon ;}
// CHECK-CC1: {TypedText compatibility_alias}{HorizontalSpace }{Placeholder
alias}{HorizontalSpace }{Placeholder class}
// CHECK-CC1: {TypedText implementation}{HorizontalSpace }{Placeholder class}
// CHECK-CC1: {TypedText interface}{HorizontalSpace }{Placeholder class}
Modified: cfe/trunk/test/Index/complete-at-exprstmt.m
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/complete-at-exprstmt.m?rev=93238&r1=93237&r2=93238&view=diff
==============================================================================
--- cfe/trunk/test/Index/complete-at-exprstmt.m (original)
+++ cfe/trunk/test/Index/complete-at-exprstmt.m Tue Jan 12 05:52:20 2010
@@ -14,7 +14,7 @@
// CHECK-CC1: {TypedText protocol}{LeftParen (}{Placeholder
protocol-name}{RightParen )}
// CHECK-CC1: {TypedText selector}{LeftParen (}{Placeholder
selector}{RightParen )}
// CHECK-CC1: {TypedText synchronized}{HorizontalSpace }{LeftParen
(}{Placeholder expression}{RightParen )}{LeftBrace {}{Placeholder
statements}{RightBrace }}
-// CHECK-CC1: {TypedText throw}{HorizontalSpace }{Placeholder
expression}{Text ;}
+// CHECK-CC1: {TypedText throw}{HorizontalSpace }{Placeholder
expression}{SemiColon ;}
// CHECK-CC1: {TypedText try}{LeftBrace {}{Placeholder statements}{RightBrace
}}{Text @catch}{LeftParen (}{Placeholder parameter}{RightParen )}{LeftBrace
{}{Placeholder statements}{RightBrace }}{Text @finally}{LeftBrace
{}{Placeholder statements}{RightBrace }}
// RUN: c-index-test -code-completion-at=%s:9:19 %s | FileCheck
-check-prefix=CHECK-CC2 %s
// CHECK-CC2: {TypedText encode}{LeftParen (}{Placeholder
type-name}{RightParen )}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits