diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-25 16:56:17 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-25 16:56:17 +0000 |
commit | 60cbfacd947590f83257a4191566dda92fbbde69 (patch) | |
tree | 65fd66f8fe9c2139d5387adeff26cb7eda05da12 /test/Index/TestClassForwardDecl.m | |
parent | fd64377225a6a140bddb3f997d52a036486f9360 (diff) |
Loosen preconditions for clang_getCursorSpelling(), returning an empty
string when given a cursor that does not have a name. Also, don't give
silly names for statements and non-reference expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/TestClassForwardDecl.m')
-rw-r--r-- | test/Index/TestClassForwardDecl.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/TestClassForwardDecl.m b/test/Index/TestClassForwardDecl.m index c53453b0ba..c96fb5a020 100644 --- a/test/Index/TestClassForwardDecl.m +++ b/test/Index/TestClassForwardDecl.m @@ -20,7 +20,7 @@ void function(Foo * arg) // CHECK-scan: {start_line=10 start_col=15 end_line=10 end_col=17} ObjCClassRef=Foo:8:8 // CHECK-scan: {start_line=10 start_col=18 end_line=10 end_col=23} ParmDecl=arg:10:21 (Definition) // CHECK-scan: {start_line=10 start_col=24 end_line=10 end_col=25} FunctionDecl=function:10:6 (Definition) -// CHECK-scan: {start_line=11 start_col=1 end_line=13 end_col=1} UnexposedStmt=function +// CHECK-scan: {start_line=11 start_col=1 end_line=13 end_col=1} UnexposedStmt= |