Home
last modified time | relevance | path

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

12345

/external/clang/test/PCH/
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
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
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…
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
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
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
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
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
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
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
/external/clang/test/Modules/
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…
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 \
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
Dredecls.m2 // RUN: %clang_cc1 -fmodules %s -emit-pch -o %t1.pch -fmodules-cache-path=%t.mcp -I %S/Inputs/redec…
3 // RUN: %clang_cc1 -fmodules %s -emit-pch -o %t2.pch -include-pch %t1.pch -fmodules-cache-path=%t.m…
4 // RUN: %clang_cc1 -fmodules %s -fsyntax-only -include-pch %t2.pch -I %S/Inputs/redecls -fmodules-c…
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…
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…
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 -…
Dpreprocess.m3 …uts -I %S/Inputs/preprocess -x objective-c-header -emit-pch %S/Inputs/preprocess-prefix.h -o %t.pch
4 … -fmodules-cache-path=%t -I %S/Inputs -I %S/Inputs/preprocess -include-pch %t.pch -E %s | FileChec…
7 …s -I %S/Inputs/preprocess -x objective-c++-header -emit-pch %S/Inputs/preprocess-prefix.h -o %t.pch
8 …path=%t -I %S/Inputs -I %S/Inputs/preprocess -x objective-c++ -include-pch %t.pch -E %s | FileChec…
/external/clang/test/Driver/
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
/external/clang/test/ARCMT/
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
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
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
/external/clang/test/Index/
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
Dannotate-macro-args.m6 // RUN: c-index-test -write-pch %t.pch -x objective-c-header %S/annotate-macro-args.h -Xclang -deta…
7 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:9:1:10:1 %s -include-pch %t.pch
8 …t -test-annotate-tokens=%S/annotate-macro-args.h:15:1:16:1 %s -include-pch %t.pch | FileCheck -che…
/external/toybox/toys/pending/
Dftpget.c152 char *pch; in verify_pasv_mode() local
161 if (!(pch = strrchr(toybuf, ')'))) goto close_stream; in verify_pasv_mode()
162 *pch = '\0'; in verify_pasv_mode()
163 if (!(pch = strrchr(toybuf, ','))) goto close_stream; in verify_pasv_mode()
164 *pch = '\0'; in verify_pasv_mode()
166 portnum = atolx_range(pch + 1, 0, 255); in verify_pasv_mode()
168 if (!(pch = strrchr(toybuf, ','))) goto close_stream; in verify_pasv_mode()
169 *pch = '\0'; in verify_pasv_mode()
170 portnum = portnum + (atolx_range(pch + 1, 0, 255) * 256); in verify_pasv_mode()

12345