summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/Core/index-source.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-11-07 18:25:36 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-11-07 18:25:36 +0000
commit1c628e3c3ebf61415a227579a1e12361ec3ca2d2 (patch)
treec1cf810f9324c570f6f78b0c6a8fc31efd128a2e /clang/test/Index/Core/index-source.cpp
parent386fc2516cb8ec1cdbfa3bc9b293e36753360ed3 (diff)
downloadbcm5719-llvm-1c628e3c3ebf61415a227579a1e12361ec3ca2d2.tar.gz
bcm5719-llvm-1c628e3c3ebf61415a227579a1e12361ec3ca2d2.zip
[index] __builtin_offset's field reference is located at the end location
The starting location is the location of the '.' llvm-svn: 317596
Diffstat (limited to 'clang/test/Index/Core/index-source.cpp')
-rw-r--r--clang/test/Index/Core/index-source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/Core/index-source.cpp b/clang/test/Index/Core/index-source.cpp
index cb64bd73963..6ad600b3514 100644
--- a/clang/test/Index/Core/index-source.cpp
+++ b/clang/test/Index/Core/index-source.cpp
@@ -543,7 +543,7 @@ void foo() {
__builtin_offsetof(Struct2, array[1][0].field);
// CHECK: [[@LINE-1]]:31 | field/C | array | c:@N@index_offsetof@S@Struct2@FI@array | <no-cgname> | Ref,RelCont | rel: 1
// CHECK-NEXT: RelCont | foo | c:@N@index_offsetof@F@foo#
-// CHECK: [[@LINE-3]]:42 | field/C | field | c:@N@index_offsetof@S@Struct@FI@field | <no-cgname> | Ref,RelCont | rel: 1
+// CHECK: [[@LINE-3]]:43 | field/C | field | c:@N@index_offsetof@S@Struct@FI@field | <no-cgname> | Ref,RelCont | rel: 1
// CHECK-NEXT: RelCont | foo | c:@N@index_offsetof@F@foo#
}
OpenPOWER on IntegriCloud