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 | 5bce76cd53251976f34d65378904aa0bb000b270 (patch) | |
tree | be42484bacd261602b75eb31138952780a9a534a /clang/test/Index/TestClassForwardDecl.m | |
parent | 33f1685607c8e1bfcd18625714a1ce585bdf3913 (diff) | |
download | bcm5719-llvm-5bce76cd53251976f34d65378904aa0bb000b270.tar.gz bcm5719-llvm-5bce76cd53251976f34d65378904aa0bb000b270.zip |
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.
llvm-svn: 94426
Diffstat (limited to 'clang/test/Index/TestClassForwardDecl.m')
-rw-r--r-- | clang/test/Index/TestClassForwardDecl.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/TestClassForwardDecl.m b/clang/test/Index/TestClassForwardDecl.m index c53453b0ba8..c96fb5a0206 100644 --- a/clang/test/Index/TestClassForwardDecl.m +++ b/clang/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= |