annotate clang/test/Index/cindex-test-inclusions.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: c-index-test -test-inclusion-stack-source %s 2>&1 | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 #include "include_test.h"
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // CHECK: cindex-test-inclusions.c
anatofuz
parents:
diff changeset
6 // CHECK: included by:
anatofuz
parents:
diff changeset
7 // CHECK: include_test.h
anatofuz
parents:
diff changeset
8 // CHECK: included by:
anatofuz
parents:
diff changeset
9 // CHECK: cindex-test-inclusions.c:3:10
anatofuz
parents:
diff changeset
10 // CHECK: include_test_2.h
anatofuz
parents:
diff changeset
11 // CHECK: included by:
anatofuz
parents:
diff changeset
12 // CHECK: include_test.h:1:10
anatofuz
parents:
diff changeset
13 // CHECK: cindex-test-inclusions.c:3:10
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-inclusion-stack-source %s 2>&1 | FileCheck -check-prefix=REPARSE %s
anatofuz
parents:
diff changeset
16 // REPARSE: include_test_2.h
anatofuz
parents:
diff changeset
17 // REPARSE: included by:
anatofuz
parents:
diff changeset
18 // REPARSE: include_test.h:1:10
anatofuz
parents:
diff changeset
19 // REPARSE: cindex-test-inclusions.c:3:10
anatofuz
parents:
diff changeset
20 // REPARSE: include_test.h
anatofuz
parents:
diff changeset
21 // REPARSE: included by:
anatofuz
parents:
diff changeset
22 // REPARSE: cindex-test-inclusions.c:3:10
anatofuz
parents:
diff changeset
23 // REPARSE: cindex-test-inclusions.c
anatofuz
parents:
diff changeset
24 // REPARSE: included by: