diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-18 20:23:29 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-18 20:23:29 +0000 |
commit | 473c7a72f114adeb6a7714a6b1bf45c2ec50d8dd (patch) | |
tree | f5188f06be4d6d836413ff434e2ae382b32305ab /clang/test/Index/TestClassDecl.m | |
parent | 27f000a9af6d4822253b48ff716e695a87ac1daa (diff) | |
download | bcm5719-llvm-473c7a72f114adeb6a7714a6b1bf45c2ec50d8dd.tar.gz bcm5719-llvm-473c7a72f114adeb6a7714a6b1bf45c2ec50d8dd.zip |
Replace clang_getDeclUSR() with clang_getCursorUSR(). Also remove printing 'contexts' from c-index-test output; it wasn't helpful and was extremely brittle.
llvm-svn: 93760
Diffstat (limited to 'clang/test/Index/TestClassDecl.m')
-rw-r--r-- | clang/test/Index/TestClassDecl.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Index/TestClassDecl.m b/clang/test/Index/TestClassDecl.m index 9737ec213fb..20431ca23f3 100644 --- a/clang/test/Index/TestClassDecl.m +++ b/clang/test/Index/TestClassDecl.m @@ -32,7 +32,7 @@ void function(Foo * arg) // CHECK-scan: {start_line=13 start_col=24 end_line=16 end_col=1} FunctionDefn=function:13:6 // CHECK-scan: {start_line=16 start_col=2 end_line=38 end_col=1} Invalid Cursor => NoDeclFound -// CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:1 [Context=TestClassDecl.m] [Extent=10:1:11:4] -// CHECK-load: TestClassDecl.m:13:6: FunctionDefn=function:13:6 [Context=TestClassDecl.m] [Extent=13:6:16:1] -// CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 [Context=function] [Extent=13:21:13:23] +// CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:1 [Extent=10:1:11:4] +// CHECK-load: TestClassDecl.m:13:6: FunctionDefn=function:13:6 [Extent=13:6:16:1] +// CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 [Extent=13:21:13:23] |