Lines Matching refs:search

3 // Check that search paths used by `#include` and `#include_next` are reported.
6 // RUN: -I%S/Inputs/search-path-usage/a \
7 // RUN: -I%S/Inputs/search-path-usage/a_next \
8 // RUN: -I%S/Inputs/search-path-usage/b \
9 // RUN: -I%S/Inputs/search-path-usage/c \
10 // RUN: -I%S/Inputs/search-path-usage/d \
14 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/a'}} \
15 // expected-remark-re@#a-include-next {{search path used: '{{.*}}/search-path-usage/a_next'}}
17 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/d'}}
20 // Check that framework search paths are reported.
23 // RUN: -F%S/Inputs/search-path-usage/FwA \
24 // RUN: -F%S/Inputs/search-path-usage/FwB \
28 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/FwA'}}
31 // Check that system search paths are reported.
34 // RUN: -isystem %S/Inputs/search-path-usage/b \
35 // RUN: -isystem %S/Inputs/search-path-usage/d \
39 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/b'}}
42 // Check that sysroot-based search paths are reported.
45 // RUN: -isysroot %S/Inputs/search-path-usage \
51 // expected-remark {{search path used: '/d'}}
54 // Check that search paths used by `__has_include()` are reported.
57 // RUN: -I%S/Inputs/search-path-usage/b \
58 // RUN: -I%S/Inputs/search-path-usage/d \
62 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/b'}}
68 // Check that search paths used by `#import` are reported.
71 // RUN: -I%S/Inputs/search-path-usage/b \
72 // RUN: -I%S/Inputs/search-path-usage/d \
76 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/d'}}
81 // RUN: sed "s|DIR|%/S/Inputs/search-path-usage|g" \
82 // RUN: %S/Inputs/search-path-usage/b.hmap.json.template > %t/b.hmap.json
90 // expected-remark-re {{search path used: '{{.*}}/b.hmap'}}
97 // RUN: -I%S/Inputs/search-path-usage/d \
101 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/d'}}
106 // RUN: sed "s|DIR|%/S/Inputs/search-path-usage/missing-subdir|g" \
107 // RUN: %S/Inputs/search-path-usage/b.hmap.json.template > %t/b-missing.hmap.json
115 // expected-remark-re {{search path used: '{{.*}}/b-missing.hmap'}} \
128 // expected-remark-re {{search path used: '{{.*}}/b-missing.hmap'}}
132 // Check that search paths with module maps are NOT reported.
135 // RUN: sed "s|DIR|%/S/Inputs/search-path-usage|g" \
136 // RUN: %S/Inputs/search-path-usage/modulemap_abs/module.modulemap.template \
141 // RUN: -I %S/Inputs/search-path-usage/a \