diff options
| author | Daniel Jasper <djasper@google.com> | 2013-01-09 08:36:49 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-01-09 08:36:49 +0000 |
| commit | fb3f2482e5b0210efae8b2a33842b4b5411b308a (patch) | |
| tree | fa3b0ef49c3000ccce23ac86c1bc26af32068474 /clang/test | |
| parent | b4ede780b06a66e1a15f5f38a4bab49a6cf0660d (diff) | |
| download | bcm5719-llvm-fb3f2482e5b0210efae8b2a33842b4b5411b308a.tar.gz bcm5719-llvm-fb3f2482e5b0210efae8b2a33842b4b5411b308a.zip | |
Fix ObjC block declarations.
Before: int ( ^ Block1) (int, int) = ^ (int i, int j)
After: int (^Block1) (int, int) = ^(int i, int j)
llvm-svn: 171959
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Index/comment-c-decls.c | 4 | ||||
| -rw-r--r-- | clang/test/Index/format-comment-cdecls.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Index/comment-c-decls.c b/clang/test/Index/comment-c-decls.c index be45ee205fb..f6d3feec81c 100644 --- a/clang/test/Index/comment-c-decls.c +++ b/clang/test/Index/comment-c-decls.c @@ -95,10 +95,10 @@ enum e { *\brief block declaration */ int (^Block) (int i, int j); -// CHECK: <Declaration>int ( ^ Block) (int, int)</Declaration> +// CHECK: <Declaration>int (^Block) (int, int)</Declaration> /** *\brief block declaration */ int (^Block1) (int i, int j) = ^(int i, int j) { return i + j; }; -// CHECK: <Declaration>int ( ^ Block1) (int, int) = ^ (int i, int j) {\n}</Declaration> +// CHECK: <Declaration>int (^Block1) (int, int) = ^(int i, int j) {\n}</Declaration> diff --git a/clang/test/Index/format-comment-cdecls.c b/clang/test/Index/format-comment-cdecls.c index b1539fe1cc8..31ec95b9212 100644 --- a/clang/test/Index/format-comment-cdecls.c +++ b/clang/test/Index/format-comment-cdecls.c @@ -90,10 +90,10 @@ enum e { *\brief block declaration */ int (^Block) (int i, int j); -// CHECK: <Declaration>int ( ^ Block) (int, int)</Declaration> +// CHECK: <Declaration>int (^Block) (int, int)</Declaration> /** *\brief block declaration */ int (^Block1) (int i, int j) = ^(int i, int j) { return i + j; }; -// CHECK: <Declaration>int ( ^ Block1) (int, int) = ^ (int i, int j) {\n}</Declaration> +// CHECK: <Declaration>int (^Block1) (int, int) = ^(int i, int j) {\n}</Declaration> |

