summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/Core/index-source.m
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-03-17 04:28:19 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-03-17 04:28:19 +0000
commit6377e4e09ada9d6d6a2dbbae0688b38f94401e2b (patch)
tree338f49cb5aa09f34df9dca61375ea5b3138f89e9 /clang/test/Index/Core/index-source.m
parenta58d430cace221fa3959962b8d374d968891aba3 (diff)
downloadbcm5719-llvm-6377e4e09ada9d6d6a2dbbae0688b38f94401e2b.tar.gz
bcm5719-llvm-6377e4e09ada9d6d6a2dbbae0688b38f94401e2b.zip
[index] Make sure that declarations of builtin functions are indexed.
rdar://25154630 llvm-svn: 263689
Diffstat (limited to 'clang/test/Index/Core/index-source.m')
-rw-r--r--clang/test/Index/Core/index-source.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Index/Core/index-source.m b/clang/test/Index/Core/index-source.m
index 6248f18bfb5..ac309c8e696 100644
--- a/clang/test/Index/Core/index-source.m
+++ b/clang/test/Index/Core/index-source.m
@@ -68,5 +68,6 @@ enum {
// CHECK: [[@LINE+1]]:13 | typedef/C | jmp_buf | c:index-source.m@T@jmp_buf | <no-cgname> | Def | rel: 0
typedef int jmp_buf[(18)];
+// CHECK: [[@LINE+2]]:12 | function/C | setjmp | c:@F@setjmp | _setjmp | Decl | rel: 0
// CHECK: [[@LINE+1]]:19 | typedef/C | jmp_buf | c:index-source.m@T@jmp_buf | <no-cgname> | Ref | rel: 0
extern int setjmp(jmp_buf);
OpenPOWER on IntegriCloud