diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-02-14 08:32:24 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-14 08:32:24 +0000 |
| commit | 98c07e0e23890298775d3cf3a935066bba4fb57b (patch) | |
| tree | 21079de51f3766cf7ed0351d8aca1a1b472bcd49 /clang/test/Index/code-complete-errors.c | |
| parent | 20499331968864153e040e286b3d81c218c23f32 (diff) | |
| download | bcm5719-llvm-98c07e0e23890298775d3cf3a935066bba4fb57b.tar.gz bcm5719-llvm-98c07e0e23890298775d3cf3a935066bba4fb57b.zip | |
c-index-test: Unify syntax for printing extents. Yes, there were 4.
llvm-svn: 96158
Diffstat (limited to 'clang/test/Index/code-complete-errors.c')
| -rw-r--r-- | clang/test/Index/code-complete-errors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Index/code-complete-errors.c b/clang/test/Index/code-complete-errors.c index ecd56aa40f6..520a8c87df2 100644 --- a/clang/test/Index/code-complete-errors.c +++ b/clang/test/Index/code-complete-errors.c @@ -2,12 +2,12 @@ _Complex cd; // CHECK: code-complete-errors.c:1:1: warning: plain '_Complex' req // CHECK: FIX-IT: Insert " double" at 1:9 struct s { int x, y;; // CHECK: code-complete-errors.c:4:12: warning: extra ';' inside a struct or union -}; // CHECK: FIX-IT: Remove 4:12-4:13 +}; // CHECK: FIX-IT: Remove [4:12 - 4:13] struct s s0 = { y: 5 }; // CHECK: code-complete-errors.c:7:20: warning: use of GNU old-style field designator extension -// CHECK: FIX-IT: Replace 7:17-7:19 with ".y = " +// CHECK: FIX-IT: Replace [7:17 - 7:19] with ".y = " int f(int *ptr1, float *ptr2) { - return ptr1 != ptr2; // CHECK: code-complete-errors.c:10:15:{10:10-10:14}{10:18-10:22}: warning: comparison of distinct pointer types ('int *' and 'float *') + return ptr1 != ptr2; // CHECK: code-complete-errors.c:10:15:[10:10 - 10:14][10:18 - 10:22]: warning: comparison of distinct pointer types ('int *' and 'float *') } void g() { } |

