Home
last modified time | relevance | path

Searched refs:pch (Results 1 – 25 of 192) sorted by relevance

12345678

/minix/external/bsd/llvm/dist/clang/test/PCH/
H A Dheadermap.m3 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/headermap.h
4 // RUN: %clang_cc1 -include-pch %t.h.pch %s
6 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/headermap.h
7 // RUN: %clang_cc1 -include-pch %t.h.pch -I%t.hmap %s
9 // RUN: %clang_cc1 -x objective-c -I%t.hmap -emit-pch -o %t.h.pch %S/headermap.h
10 // RUN: %clang_cc1 -include-pch %t.h.pch %s
12 // RUN: %clang_cc1 -x objective-c -I%t.hmap -emit-pch -o %t.h.pch %S/headermap.h
13 // RUN: %clang_cc1 -include-pch %t.h.pch -I%t.hmap %s
H A Dverify_pch.m8 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c-header -emit-pch -o %t.pch %t.h
11 // RUN: %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch
14 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c -fno-builtin -verify-pch %t.pch
18 // RUN: not %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch 2> %t.log.2
20 // CHECK-STALE-DEP: file '{{.*}}.h' has been modified since the precompiled header '{{.*}}.pch' was…
23 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c-header -emit-pch -o %t.pch %t.h
24 // RUN: %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch
26 // RUN: not %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch 2> %t.log.3
28 …-H: file '{{.*}}sys_header.h' has been modified since the precompiled header '{{.*}}.pch' was built
H A Darc.m1 // Test this without pch.
4 // Test with pch.
5 // RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -x objective-c-heade…
6 // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only …
8 // Test error when pch's -fobjc-arc state is different.
9 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -include-pch %t -fsyntax-only -emit-l…
10 // RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -x objective-c-header -o %t %S/…
11 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-o…
H A Dobjc_container.m1 // Test this without pch.
4 // Test with pch.
5 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_container.h
6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
7 // RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s
8 // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-IR %s
H A Dchain-remap-types.m1 // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t1 %S/Inputs/chain-remap-types1.h
2 // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-p…
3 // RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s
4 // RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s
H A Dobjc_stmts.m1 // Test this without pch.
5 // Test with pch.
6 // RUN: %clang_cc1 -x objective-c -emit-pch -fobjc-exceptions -o %t %S/objc_stmts.h
7 // RUN: %clang_cc1 -include-pch %t -emit-llvm -fobjc-exceptions -o - %s
8 // RUN: %clang_cc1 -include-pch %t -ast-print -fobjc-exceptions -o - %s | FileCheck %s
H A Dselector-warning.m1 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/selector-warning.h
2 // RUN: %clang_cc1 -include-pch %t.h.pch %s
H A Dobjc_property.m1 // Test this without pch.
4 // Test with pch.
5 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h
6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
H A Dmodified-module-dependency.m7 // Precompile prefix.pch.
8 …odules-cache-path=%t-dir/cache -fdisable-module-hash -emit-pch %t-dir/prefix.h -o %t-dir/prefix.pch
14 // RUN: not %clang_cc1 -x objective-c -I %t-dir -include-pch %t-dir/prefix.pch -fmodules -fmodules-…
17 …test\.h]]' has been modified since the precompiled header '[[PREFIX_PCH:.*/prefix\.pch]]' was built
H A Dsubscripting-literals.m2 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-pch -o %t.pch %s
3 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t.pch.ll %s -include-pch %t.pch
4 // RUN: diff %t.nopch.ll %t.pch.ll
/minix/external/bsd/llvm/dist/clang/test/Modules/
H A Dignored_macros.m3 …odules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
4 …1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch %s -verify
10 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -fmodules -I %S/Inputs -emit-pch -o %t.pch -x ob…
11 …dules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch %s > %t.err 2>&1
19 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -fmodules -I %S/Inputs -emit-pch -o %t.pch -x ob…
20 …ules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
26 …IGNORED=1 -fmodules-ignore-macro=IGNORED -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
27 …ules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
33 …NORED=1 -fmodules-ignore-macro=IGNORED=1 -fmodules -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
34 …ules-cache-path=%t.modules -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
H A Dmacro-undef-through-pch.m3 // RUN: -I%S/Inputs/macro-undef-through-pch -emit-pch \
4 // RUN: %S/Inputs/macro-undef-through-pch/foo.h -o %t.pch
6 // RUN: -I%S/Inputs/macro-undef-through-pch -emit-pch \
7 // RUN: -include-pch %t.pch %s
H A Dva_list.m4 // RUN: -x objective-c-header %s -o %t.pch -emit-pch
6 // Include the pch, as a sanity check.
8 // RUN: -fmodules-ignore-macro=PREFIX -I %S/Inputs/va_list -include-pch %t.pch \
11 // Repeat the previous emit-pch, but not we will have a global module index.
13 // emitted into the pch.
16 // RUN: -x objective-c-header %s -o %t.pch -emit-pch
18 // Include the pch, which now has __va_list_tag in it, which needs to be merged.
20 // RUN: -fmodules-ignore-macro=PREFIX -I %S/Inputs/va_list -include-pch %t.pch \
H A Dpch-used.m3 // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodu…
4 // RUN: %clang_cc1 %s -include-pch %t/pch-used.h.pch -fmodules -fmodules-cache-path=%t/cache -O0 -i…
H A Dresolution-change.m4 …ules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -emit-pch -o %t-A.pch %s
7 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-A.pch %s -fsyntax-onl…
10 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-A.pch %s -fsyntax-onl…
13 // RUN: not %clang_cc1 -fmodules -fmodules-cache-path=%t -include-pch %t-A.pch %s -fsyntax-only 2>&…
14 …pendsOnA' in AST file '{{.*DependsOnA.*pcm}}' (imported by AST file '{{.*A.pch}}') is not defined …
17 …cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -include-pch %t-A.pch %s -fsyntax-onl…
21 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path2/A -include-pch %t-A.pch %s -fsyntax-onl…
H A Dautolink.m2 …UN: %clang_cc1 -emit-pch -fmodules-cache-path=%t -fmodules -o %t.pch -I %S/Inputs -x objective-c-h…
3 …- -fmodules-cache-path=%t -fmodules -F %S/Inputs -I %S/Inputs -include-pch %t.pch %s | FileCheck %s
4 …- -fmodules-cache-path=%t -fmodules -F %S/Inputs -I %S/Inputs -include-pch %t.pch %s | FileCheck -…
/minix/external/bsd/llvm/dist/clang/test/Driver/
H A Dverify_pch.m1 // RUN: touch %t.pch
2 // RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
4 // CHECK: -verify-pch
6 // Also ensure that the language setting is not affected by the .pch extension
9 // RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.2
/minix/external/bsd/llvm/dist/clang/test/Modules/redecls/
H A Dmain.m4 // RUN: %clang_cc1 -fmodules %s -emit-pch -o %t1.pch -fmodules-cache-path=%t.mcp -I %S
5 // RUN: %clang_cc1 -fmodules %s -emit-pch -o %t2.pch -include-pch %t1.pch -fmodules-cache-path=%t.m…
6 // RUN: %clang_cc1 -fmodules %s -fsyntax-only -include-pch %t2.pch -I %S -fmodules-cache-path=%t.mc…
/minix/external/bsd/bind/dist/lib/lwres/
H A Dlwinetpton.c92 const char *pch; in inet_pton4() local
94 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4()
97 new += (unsigned int)(pch - digits); in inet_pton4()
158 const char *pch; in inet_pton6() local
160 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6()
161 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6()
162 if (pch != NULL) { in inet_pton6()
164 val |= (pch - xdigits); in inet_pton6()
/minix/external/bsd/llvm/dist/clang/test/ARCMT/
H A Dobjcmt-with-pch.m2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch
3 …iterals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch
5 …%clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch
H A Dobjcmt-with-pch.m.result2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch
3 …iterals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch
5 …%clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch
H A Dmigrate-with-pch.m2 // RUN: %clang_cc1 -x objective-c %S/Common.h -emit-pch -o %t.pch
3 …c1 -arcmt-migrate -mt-migrate-directory %t %S/Inputs/test1.m.in -x objective-c -include-pch %t.pch
4 …cc1 -arcmt-migrate -mt-migrate-directory %t %S/Inputs/test2.m.in -x objective-c -include-pch %t.pch
/minix/external/bsd/bind/dist/lib/isc/
H A Dinet_pton.c93 const char *pch; in inet_pton4() local
95 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4()
98 new += (int)(pch - digits); in inet_pton4()
156 const char *pch; in inet_pton6() local
158 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6()
159 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6()
160 if (pch != NULL) { in inet_pton6()
162 val |= (pch - xdigits); in inet_pton6()
/minix/lib/libc/inet/
H A Dinet_net_pton.c211 const char *pch; in getbits() local
213 pch = strchr(digits, ch); in getbits()
214 if (pch != NULL) { in getbits()
218 val += (int)(pch - digits); in getbits()
243 const char *pch; in getv4() local
245 pch = strchr(digits, ch); in getv4()
246 if (pch != NULL) { in getv4()
250 val += (int)(pch - digits); in getv4()
304 const char *pch; in inet_net_pton_ipv6() local
308 if (pch != NULL) { in inet_net_pton_ipv6()
[all …]
/minix/external/bsd/llvm/dist/clang/test/Index/
H A Dindex-pch-with-module.m15 // RUN: c-index-test -write-pch %t.h.pch %s -fmodules-cache-path=%t.cache -fmodules -F %S/../Module…
20 // CHECK: [importedASTFile]: {{.*}}.h.pch
21 // CHECK-NEXT: [enteredMainFile]: {{.*[/\\]}}index-pch-with-module.m
26 // RUN: c-index-test -index-tu %t.h.pch | FileCheck %s -check-prefix=CHECK-PCH
28 // CHECK-PCH: [enteredMainFile]: {{.*[/\\]}}index-pch-with-module.m

12345678